Moved nextcloud to single config file
parent
7965403624
commit
f95e9f4154
|
@ -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
|
|
@ -1,3 +0,0 @@
|
|||
POSTGRES_DB=nextcloud
|
||||
POSTGRES_USER=nextcloud
|
||||
POSTGRES_PASSWORD=pass
|
|
@ -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:
|
||||
|
|
Reference in New Issue