Moved nextcloud to single config file

pull/3/head
Jef Roosens 2021-01-09 17:02:38 +01:00
parent 7965403624
commit f95e9f4154
3 changed files with 9 additions and 8 deletions

View File

@ -1,8 +1,8 @@
# Database
# Database settings
POSTGRES_HOST=db
POSTGRES_DB=nextcloud
POSTGRES_USER=nextcloud
POSTGRES_PASSWORD=pass
POSTGRES_HOST=db
# Redis
REDIS_HOST=redis

View File

@ -1,3 +0,0 @@
POSTGRES_DB=nextcloud
POSTGRES_USER=nextcloud
POSTGRES_PASSWORD=pass

View File

@ -9,7 +9,7 @@ services:
- 'db'
- 'redis'
env_file:
- 'nc.env'
- '.env'
labels:
- 'com.centurylinklabs.watchtower.enable=true'
networks:
@ -27,6 +27,8 @@ services:
depends_on:
- 'app'
env_file:
- '.env'
labels:
- 'com.centurylinklabs.watchtower.enable=true'
volumes:
@ -38,8 +40,10 @@ services:
image: 'postgres:13-alpine'
restart: 'always'
env_file:
- 'db.env'
environment:
- 'POSTGRES_DB'
- 'POSTGRES_USER'
- 'POSTGRES_PASSWORD'
labels:
- 'com.centurylinklabs.watchtower.enable=true'
volumes: