From 51c2b40e21cd7c7be59aa6db785116aeed76ba03 Mon Sep 17 00:00:00 2001 From: adminbruno Date: Wed, 25 Jan 2023 12:00:33 -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 | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/nc-complete.yml b/nc-complete.yml index be940cb..56a2803 100644 --- a/nc-complete.yml +++ b/nc-complete.yml @@ -17,8 +17,10 @@ services: - REDIS_PORT=6379 - REDIS_HOST_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 restart: unless-stopped \ No newline at end of file