From c7d1bc3191e9857ee847f0507d2f92522f1b0d80 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Mon, 18 Jul 2022 22:56:21 +0530 Subject: [PATCH] fix: rename postgres in docker-compose to avoid namespace collision fixes: https://github.com/mCaptcha/mCaptcha/issues/31 --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 57f023cb..f843e608 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3.9' +version: "3.9" services: mcaptcha: @@ -6,11 +6,11 @@ services: ports: - 7000:7000 environment: - DATABASE_URL: postgres://postgres:password@postgres:5432/postgres # set password at placeholder + DATABASE_URL: postgres://postgres:password@mcaptcha_postgres:5432/postgres # set password at placeholder MCAPTCHA_REDIS_URL: redis://mcaptcha-redis/ RUST_LOG: debug - postgres: + mcaptcha_postgres: image: postgres:13.2 volumes: - mcaptcha-data:/var/lib/postgresql/