A docker setup for koken, a content management and web site publishing for photographers.
A docker setup for koken, a content management and web site publishing for photographers.
This setup integrates into the docker-compose-letsencrypt-nginx-proxy-companion:
We assume that another service is terminating the SSL. This setup is intended for servers that run multiple services on one machine.
Clone the repository git clone https://github.com/pspoerri/docker-koken-letsencrypt.git
Make a copy of .env.sample
, rename it to .env
and adapt it to your needs.
```
CONTAINER_NAME=koken
DOMAIN=example.com
KOKEN_DATA_DIR=./data/koken
MYSQL_DATA_DIR=./data/mysql
MYSQL_ROOT_PASSWORD=n1Pijff8y3BZ2QIQx6aMSx4oR9ad0DPk
MYSQL_DATABASE=koken
MYSQL_USER=koken
MYSQL_PASSWORD=b5TcpAnQSTjjYWJ3FwkrCT4UnwIC6WG3
LETSENCRYPT_EMAIL=user@example.com
NETWORK=webproxy``
Please note that the setup only supports one domain name. If you want to support multiple domains then you will need to adapt the
docker-compose.yml` file.
./start.sh
database_backup.sh
to create a backup of the databasedatabase_restore.sh
to restore the backup of the database untested, use at your own riskThis image was inspired by the following docker images: