From bf7bbd31993171c99796f61b8d47c59d4c7cceb2 Mon Sep 17 00:00:00 2001 From: James Loh Date: Mon, 30 Jun 2025 15:51:10 +1000 Subject: [PATCH] Fix importing existing configuration into Docker setup no ref - I mistakenly didn't realise we don't import our `.env` file and instead populate the settings individually into each container - This fixes that by just importing it all into the Ghost container which eases importing settings from existing installations - This will result in a bit of duplication and split env vars but the rest are generally required across multiple containers so it makes sense --- compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compose.yml b/compose.yml index a7ea8f4..d8c3ae5 100644 --- a/compose.yml +++ b/compose.yml @@ -22,6 +22,9 @@ services: restart: always expose: - "2368" + # This is required to import current config when migrating + env_file: + - .env environment: NODE_ENV: production url: https://${DOMAIN:?DOMAIN environment variable is required}