You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

33 lines
846 B

version: '3'
services:
app:
build: ./nextcloud_fpm_full
restart: always
volumes:
- ./nextcloud/html:/var/www/html
- /mnt/data_nextcloud/data:/var/www/html/data
environment:
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}"
- "POSTGRES_HOST=10.128.0.33:5432"
- "NEXTCLOUD_URL=nextcloud.auro.re"
- "NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.auro.re"
- "OVERWRITEHOST=nextcloud.auro.re"
- "NEXTCLOUD_ADMIN_USER=${NEXTCLOUD_ADMIN_USER}"
- "NEXTCLOUD_ADMIN_PASSWORD=${NEXTCLOUD_ADMIN_PASSWORD}"
web:
build: ./web
restart: always
volumes:
- ./nextcloud/html:/var/www/html:ro
environment:
- NGINX_HOST=nextcloud.auro.re
- NGINX_PORT=80
ports:
- "8080:80"
depends_on:
- app