Mise à jour de 'nc-complete.yml'
This commit is contained in:
1 parent
781dd7a2e0
commit
51c2b40e21
1 file changed
+12
-10
+12
-10
@@ -17,8 +17,10 @@ services:
|
||||
- REDIS_PORT=6379
|
||||
- REDIS_HOST_PASSWORD=<REDIS PASSWORD>
|
||||
volumes:
|
||||
- /local/path/nextcloud/config:/config
|
||||
- /local/path/nextcloud/data:/data
|
||||
- ./nextcloud/config:/config
|
||||
- ./nextcloud/data:/data
|
||||
ports:
|
||||
- 8443:443
|
||||
depends_on:
|
||||
- postgres
|
||||
restart: unless-stopped
|
||||
@@ -41,14 +43,14 @@ services:
|
||||
|
||||
postgres:
|
||||
image: postgres
|
||||
container_name: postgres
|
||||
container_name: docker.io/postgres
|
||||
hostname: postgres
|
||||
network_mode: # See above
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=100
|
||||
- PGID=1000
|
||||
- POSTGRES_PASSWORD= # generate a password
|
||||
- TZ=America/Edmonton # set as appropriate
|
||||
- TZ=America/Toronto # set as appropriate
|
||||
#- POSTGRES_PASSWORD
|
||||
#- POSTGRES_USER
|
||||
#- POSTGRES_DB
|
||||
@@ -57,13 +59,13 @@ services:
|
||||
#- POSTGRES_HOST_AUTH_METHOD
|
||||
- PGDATA = "/var/lib/postgresql/data" # I CANNOT STRESS THE IMPORTANCE OF THIS AND THE VOLUME
|
||||
volumes:
|
||||
- /local/path/postgres/postgres:/var/lib/postgresql
|
||||
- /local/path/postgres/data:/var/lib/postgresql/data # Without EXPLICITLY declaring a Data folder, you risk losing your stuff in the docker_volumes graveyard, or worse pruning, because WOW
|
||||
- ./postgres/postgres:/var/lib/postgresql
|
||||
- ./postgres/data:/var/lib/postgresql/data # Without EXPLICITLY declaring a Data folder, you risk losing your stuff in the docker_volumes graveyard, or worse pruning, because WOW
|
||||
restart: unless-stopped
|
||||
|
||||
adminer:
|
||||
image: adminer
|
||||
container_name: adminer
|
||||
container_name: docker.io/adminer
|
||||
hostname: adminer
|
||||
network_mode: # See above
|
||||
ports:
|
||||
@@ -77,7 +79,7 @@ services:
|
||||
network_mode: # See above
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=100
|
||||
- TZ=America/Edmonton
|
||||
- PGID=1000
|
||||
- TZ=America/Toronto
|
||||
command: redis-server --requirepass <REDIS PASSWORD>
|
||||
restart: unless-stopped
|
||||
Reference in new issue
Block a user