Docker compose configuration for running dockerized nextcloud and onlyoffice behind the jwilder/nginx-proxy with letsencrypt
- Set or change all MySQL-passwords in:
- /nextcloud/.db.env
- /nextcloud/docker-compose.yml
- /onlyoffice/initialize.sh
- /onlyoffice/docker-compose.yml
- Set your IP at /nginx-proxy-letsencrypt/docker-compose.yml
- Set your hostname and E-Mail (VRTUAL_HOST, LETSENCRYPT_HOST, LETSENCRYPT_EMAIL) in:
- /nextcloud/docker-compose
- /onlyoffice/docker-compose.yml
- Run following commands for initializing:
cd nginx-proxy-letsencrypt
./initialize.sh
cd ../onlyoffice
./initialize.sh
- Run following commands for starting the servers:
cd ../nginx-proxy-letsencrypt
docker-compose up -d
cd ../nextcloud
docker-compose up -d
cd ../onlyoffice
docker-compose up -d
- Enjoy