Fixed fpm port

master
Meliurwen 4 years ago
parent 655fb5087a
commit 26cc128716
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 4
      docker-compose.yml
  2. 2
      nextcloud.env.example

@ -8,6 +8,8 @@ services:
build: . build: .
container_name: ${NC_CONTAINER_NAME:-nextcloud} container_name: ${NC_CONTAINER_NAME:-nextcloud}
restart: ${NC_RESTART:-unless-stopped} restart: ${NC_RESTART:-unless-stopped}
expose:
- 9000
depends_on: depends_on:
- db - db
volumes: volumes:
@ -27,6 +29,8 @@ services:
image: ${DB_IMG:-mariadb}:${DB_TAG:-latest} image: ${DB_IMG:-mariadb}:${DB_TAG:-latest}
container_name: ${DB_CONTAINER_NAME:-nextcloud-db} container_name: ${DB_CONTAINER_NAME:-nextcloud-db}
restart: ${DB_RESTART:-unless-stopped} restart: ${DB_RESTART:-unless-stopped}
expose:
- 3306
volumes: volumes:
- ${LOCAL_STACK_DIR}/db/data:/var/lib/mysql - ${LOCAL_STACK_DIR}/db/data:/var/lib/mysql
networks: networks:

@ -10,6 +10,6 @@ PHP_UPLOAD_LIMIT=1024M
# Reverse-proxy and certbot # Reverse-proxy and certbot
VIRTUAL_HOST=subdomain.domain.tld VIRTUAL_HOST=subdomain.domain.tld
VIRTUAL_PORT=80 VIRTUAL_PORT=9000
LETSENCRYPT_HOST=subdomain.domain.tld LETSENCRYPT_HOST=subdomain.domain.tld
LETSENCRYPT_EMAIL=username@domain.tld LETSENCRYPT_EMAIL=username@domain.tld

Loading…
Cancel
Save