Mise à jour de 'nc-complete.yml'

master
adminbruno 3 years ago
parent 63de58fc00
commit bec728237d

@ -42,8 +42,8 @@ services:
restart: unless-stopped restart: unless-stopped
postgres: postgres:
image: postgres image: docker.io/postgres
container_name: docker.io/postgres container_name: postgres
hostname: postgres hostname: postgres
network_mode: # See above network_mode: # See above
environment: environment:
@ -57,15 +57,15 @@ services:
#- POSTGRES_INITDB_ARGS #- POSTGRES_INITDB_ARGS
#- POSTGRES_INITDB_WALDIR #- POSTGRES_INITDB_WALDIR
#- 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:
- ./postgres/postgres:/var/lib/postgresql - ./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 - ./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: docker.io/adminer
container_name: docker.io/adminer container_name: adminer
hostname: adminer hostname: adminer
network_mode: # See above network_mode: # See above
ports: ports:
@ -73,7 +73,7 @@ services:
restart: unless-stopped restart: unless-stopped
redis: redis:
image: redis image: docker.io/redis
container_name: redis container_name: redis
hostname: redis hostname: redis
network_mode: # See above network_mode: # See above

Loading…
Cancel
Save