From bec728237de7f5466e0d1ec5af36bb1866a0c8f9 Mon Sep 17 00:00:00 2001 From: adminbruno Date: Wed, 25 Jan 2023 13:32:09 -0500 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'nc-complete.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nc-complete.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nc-complete.yml b/nc-complete.yml index 6e83405..4d4b1ff 100644 --- a/nc-complete.yml +++ b/nc-complete.yml @@ -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