Mise à jour de 'nc-complete.yml'
This commit is contained in:
1 parent
63de58fc00
commit
bec728237d
1 file changed
+6
-6
+6
-6
@@ -42,8 +42,8 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
image: postgres
|
||||
container_name: docker.io/postgres
|
||||
image: docker.io/postgres
|
||||
container_name: postgres
|
||||
hostname: postgres
|
||||
network_mode: # See above
|
||||
environment:
|
||||
@@ -57,15 +57,15 @@ services:
|
||||
#- POSTGRES_INITDB_ARGS
|
||||
#- POSTGRES_INITDB_WALDIR
|
||||
#- 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:
|
||||
- ./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: docker.io/adminer
|
||||
image: docker.io/adminer
|
||||
container_name: adminer
|
||||
hostname: adminer
|
||||
network_mode: # See above
|
||||
ports:
|
||||
@@ -73,7 +73,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
image: docker.io/redis
|
||||
container_name: redis
|
||||
hostname: redis
|
||||
network_mode: # See above
|
||||
|
||||
Reference in new issue
Block a user