Set environmnet varibles to you're individual parameters. Then build:
-
nginxDockerProxy:
run in nginxDockerProxy directory:
docker-compose up -d
-
nextcloudDocker
run in root directory:
docker-compose up -d
- NEXTCLOUD_ADMIN_USER
- NEXTCLOUD_ADMIN_PASSWORD
- NEXTCLOUD_TRUSTED_DOMAINS
- NEXTCLOUD_HOSTNAME
- LETSENCRYPT_HOST
- VIRTUAL_HOST
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
-
Install nano in nextcloud container
docker exec -it [container name or ID] bash -c 'apt-get -y update && apt -y install nano'
-
add this two lines at the end of your config.php file in nextcloud container
'forcessl' => true, 'overwriteprotocol' => 'https',