From 275964614536bfeac8616550f7a68ec79a208a3b Mon Sep 17 00:00:00 2001 From: songtianlun Date: Thu, 23 Jan 2025 17:44:03 +0800 Subject: [PATCH] chore: update docker compose file - Update compose.yaml to pull policy: always for production environment - Added RAILS_ENV environment variable for production Changes impact the overall system functionality by ensuring containers are always pulled from the latest images, and provide clear environment variables for the production environment. --- compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/compose.yaml b/compose.yaml index 7390dc9..a4bc224 100644 --- a/compose.yaml +++ b/compose.yaml @@ -3,6 +3,7 @@ services: image: songtianlun/today_ai_weather:latest #ports: # - "3000:3000" + pull_policy: always environment: - RAILS_ENV=production - DATABASE_URL=postgresql://postgres:${PG_PASSWORD}@db:5432/db