Moved nextcloud to single config file
parent
7965403624
commit
f95e9f4154
|
@ -1,8 +1,8 @@
|
||||||
# Database
|
# Database settings
|
||||||
|
POSTGRES_HOST=db
|
||||||
POSTGRES_DB=nextcloud
|
POSTGRES_DB=nextcloud
|
||||||
POSTGRES_USER=nextcloud
|
POSTGRES_USER=nextcloud
|
||||||
POSTGRES_PASSWORD=pass
|
POSTGRES_PASSWORD=pass
|
||||||
POSTGRES_HOST=db
|
|
||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
REDIS_HOST=redis
|
REDIS_HOST=redis
|
|
@ -1,3 +0,0 @@
|
||||||
POSTGRES_DB=nextcloud
|
|
||||||
POSTGRES_USER=nextcloud
|
|
||||||
POSTGRES_PASSWORD=pass
|
|
|
@ -9,7 +9,7 @@ services:
|
||||||
- 'db'
|
- 'db'
|
||||||
- 'redis'
|
- 'redis'
|
||||||
env_file:
|
env_file:
|
||||||
- 'nc.env'
|
- '.env'
|
||||||
labels:
|
labels:
|
||||||
- 'com.centurylinklabs.watchtower.enable=true'
|
- 'com.centurylinklabs.watchtower.enable=true'
|
||||||
networks:
|
networks:
|
||||||
|
@ -27,6 +27,8 @@ services:
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- 'app'
|
- 'app'
|
||||||
|
env_file:
|
||||||
|
- '.env'
|
||||||
labels:
|
labels:
|
||||||
- 'com.centurylinklabs.watchtower.enable=true'
|
- 'com.centurylinklabs.watchtower.enable=true'
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -38,8 +40,10 @@ services:
|
||||||
image: 'postgres:13-alpine'
|
image: 'postgres:13-alpine'
|
||||||
restart: 'always'
|
restart: 'always'
|
||||||
|
|
||||||
env_file:
|
environment:
|
||||||
- 'db.env'
|
- 'POSTGRES_DB'
|
||||||
|
- 'POSTGRES_USER'
|
||||||
|
- 'POSTGRES_PASSWORD'
|
||||||
labels:
|
labels:
|
||||||
- 'com.centurylinklabs.watchtower.enable=true'
|
- 'com.centurylinklabs.watchtower.enable=true'
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Reference in New Issue