From 0c22a918b0b9d6be04a036d37e026818e7264b36 Mon Sep 17 00:00:00 2001 From: Ryan Hodges Date: Thu, 25 Jun 2026 16:12:06 -0700 Subject: [PATCH 1/2] using .env.prod in prod.local docker compose file --- docker/docker-compose.prod.local.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-compose.prod.local.yaml b/docker/docker-compose.prod.local.yaml index 2a3f9358..3938fb63 100644 --- a/docker/docker-compose.prod.local.yaml +++ b/docker/docker-compose.prod.local.yaml @@ -11,7 +11,7 @@ services: image: ${WEB_IMAGE}:latest command: ["prod-local"] env_file: - - path: .env.dev + - path: .env.prod required: true ports: [] depends_on: From bc7eeb3ac79634035610cef2e7ce8bc1aa9be225 Mon Sep 17 00:00:00 2001 From: Ryan Hodges Date: Thu, 25 Jun 2026 16:29:24 -0700 Subject: [PATCH 2/2] maintain absolute path of env file, symlink env file into docker dir --- scripts/Linux/install-docker-env.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Linux/install-docker-env.sh b/scripts/Linux/install-docker-env.sh index 947183e5..40a35c5f 100644 --- a/scripts/Linux/install-docker-env.sh +++ b/scripts/Linux/install-docker-env.sh @@ -1,5 +1,5 @@ #!/bin/bash -ENV_FILE="${1:-.env.prod}" +ENV_FILE=`realpath ${1:-.env.prod}` if [ ! -f "$ENV_FILE" ]; then echo "Environment file $ENV_FILE not found!" @@ -68,7 +68,7 @@ git checkout main git pull origin main echo "Moving the .env.prod file to the Docker directory..." -mv $ENV_FILE docker/.env.prod +ln -s $ENV_FILE $PWD/docker/.env.prod echo "Pulling the latest Docker image..." docker pull ghcr.io/ecotrust/tekdb/web:latest