From 3ad60a5d46082063eda0f646018cf520a8060f9e Mon Sep 17 00:00:00 2001 From: Nikita Sliusarev Date: Sun, 1 Feb 2026 18:18:42 +0100 Subject: [PATCH] feat: use user-provided env for compose container creation --- compose.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compose.yaml b/compose.yaml index e6e9287..ed18572 100644 --- a/compose.yaml +++ b/compose.yaml @@ -28,6 +28,8 @@ services: # Run database migrations before starting the apps app-migrate: build: . + env_file: + - .env environment: DATABASE_URL: postgres://jetkvm:jetkvm@db:5432/jetkvm depends_on: @@ -41,6 +43,8 @@ services: app: build: . restart: unless-stopped + env_file: + - .env environment: PORT: 3000 DATABASE_URL: postgres://jetkvm:jetkvm@db:5432/jetkvm