From 61bbc01fd7ab84b765cd68207c6aae5dd97a6f18 Mon Sep 17 00:00:00 2001 From: Aykhan Shahsuvarov Date: Fri, 19 Jan 2024 16:30:08 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20DB=20environment=20moved=20to=20?= =?UTF-8?q?docker=20compose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- app/config/.env.example | 1 - docker-compose-postgres.yml | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 34249ea..794f174 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# Oh My URl! \ No newline at end of file +# Oh My URL! \ No newline at end of file diff --git a/app/config/.env.example b/app/config/.env.example index fb3adae..626c213 100644 --- a/app/config/.env.example +++ b/app/config/.env.example @@ -1,4 +1,3 @@ -DB=postgres POSTGRES_USER= POSTGRES_PASSWORD= POSTGRES_DB= diff --git a/docker-compose-postgres.yml b/docker-compose-postgres.yml index 9637c16..7f24877 100644 --- a/docker-compose-postgres.yml +++ b/docker-compose-postgres.yml @@ -17,6 +17,8 @@ services: container_name: "ohmyurl-web" build: . image: ohmyurl-web:1.1 + environment: + - DB=postgres env_file: - ./app/config/.env ports: