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_PORT=6379
|
||||||
- REDIS_HOST_PASSWORD=<REDIS PASSWORD>
|
- REDIS_HOST_PASSWORD=<REDIS PASSWORD>
|
||||||
volumes:
|
volumes:
|
||||||
- /local/path/nextcloud/config:/config
|
- ./nextcloud/config:/config
|
||||||
- /local/path/nextcloud/data:/data
|
- ./nextcloud/data:/data
|
||||||
|
ports:
|
||||||
|
- 8443:443
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -41,14 +43,14 @@ services:
|
|||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres
|
||||||
container_name: postgres
|
container_name: docker.io/postgres
|
||||||
hostname: postgres
|
hostname: postgres
|
||||||
network_mode: # See above
|
network_mode: # See above
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=100
|
- PGID=1000
|
||||||
- POSTGRES_PASSWORD= # generate a password
|
- POSTGRES_PASSWORD= # generate a password
|
||||||
- TZ=America/Edmonton # set as appropriate
|
- TZ=America/Toronto # set as appropriate
|
||||||
#- POSTGRES_PASSWORD
|
#- POSTGRES_PASSWORD
|
||||||
#- POSTGRES_USER
|
#- POSTGRES_USER
|
||||||
#- POSTGRES_DB
|
#- POSTGRES_DB
|
||||||
@@ -57,13 +59,13 @@ services:
|
|||||||
#- POSTGRES_HOST_AUTH_METHOD
|
#- POSTGRES_HOST_AUTH_METHOD
|
||||||
- PGDATA = "/var/lib/postgresql/data" # I CANNOT STRESS THE IMPORTANCE OF THIS AND THE VOLUME
|
- PGDATA = "/var/lib/postgresql/data" # I CANNOT STRESS THE IMPORTANCE OF THIS AND THE VOLUME
|
||||||
volumes:
|
volumes:
|
||||||
- /local/path/postgres/postgres:/var/lib/postgresql
|
- ./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/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
|
restart: unless-stopped
|
||||||
|
|
||||||
adminer:
|
adminer:
|
||||||
image: adminer
|
image: adminer
|
||||||
container_name: adminer
|
container_name: docker.io/adminer
|
||||||
hostname: adminer
|
hostname: adminer
|
||||||
network_mode: # See above
|
network_mode: # See above
|
||||||
ports:
|
ports:
|
||||||
@@ -77,7 +79,7 @@ services:
|
|||||||
network_mode: # See above
|
network_mode: # See above
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=100
|
- PGID=1000
|
||||||
- TZ=America/Edmonton
|
- TZ=America/Toronto
|
||||||
command: redis-server --requirepass <REDIS PASSWORD>
|
command: redis-server --requirepass <REDIS PASSWORD>
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
Reference in new issue
Block a user