Alexey Skobkin
45d14a6a79
Closes #52. Co-authored-by: Alexey Skobkin <skobkin-ru@ya.ru> Reviewed-on: #122 |
||
---|---|---|
.. | ||
config | ||
db | ||
.env.dist | ||
.gitignore | ||
docker-compose.yml | ||
README.md |
Installation
# Create config file
cp config/murmur.ini.dist config/murmur.ini
# Edit config
nano -w config/murmur.ini
# Create ENV file
cp .env.dist .env
# Edit ENV file (set server hostname)
nano -w .env
# Run services (you may want to setup SSL certificate before this)
docker-compose up -d
Issue a cert
Use acme.sh for certificate retrieval.
# Create directory
mkdir /etc/ssl/${MURMUR_HOSTNAME}
# Issue a cert
acme.sh --issue --standalone -d ${MURMUR_HOSTNAME}
# Copy
acme.sh --install-cert -d ${MURMUR_HOSTNAME} --key-file /etc/ssl/${MURMUR_HOSTNAME}/domain.key --fullchain-file /etc/ssl/${MURMUR_HOSTNAME}/domain.crt --reloadcmd "docker restart murmur"