From 26cc128716c9fb592b6af8e2ec6c121b7798cc95 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Wed, 24 Mar 2021 20:01:08 +0100 Subject: [PATCH] Fixed fpm port --- docker-compose.yml | 4 ++++ nextcloud.env.example | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4a8e0d4..93eb6de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,8 @@ services: build: . container_name: ${NC_CONTAINER_NAME:-nextcloud} restart: ${NC_RESTART:-unless-stopped} + expose: + - 9000 depends_on: - db volumes: @@ -27,6 +29,8 @@ services: image: ${DB_IMG:-mariadb}:${DB_TAG:-latest} container_name: ${DB_CONTAINER_NAME:-nextcloud-db} restart: ${DB_RESTART:-unless-stopped} + expose: + - 3306 volumes: - ${LOCAL_STACK_DIR}/db/data:/var/lib/mysql networks: diff --git a/nextcloud.env.example b/nextcloud.env.example index e0907f1..cbe80c9 100644 --- a/nextcloud.env.example +++ b/nextcloud.env.example @@ -10,6 +10,6 @@ PHP_UPLOAD_LIMIT=1024M # Reverse-proxy and certbot VIRTUAL_HOST=subdomain.domain.tld -VIRTUAL_PORT=80 +VIRTUAL_PORT=9000 LETSENCRYPT_HOST=subdomain.domain.tld LETSENCRYPT_EMAIL=username@domain.tld