2020-09-02 16:18:48 +02:00
|
|
|
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}"
|
2022-12-09 21:01:59 +01:00
|
|
|
- "POSTGRES_HOST=10.128.0.95:5432"
|
2020-09-02 16:18:48 +02:00
|
|
|
- "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
|