From 71cf1c9b1896f4926c45a93174818f673ed88336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gramain?= Date: Sun, 20 Oct 2024 21:47:06 +0200 Subject: [PATCH] add env file for mastodon --- compute-2-mep/mastodon/docker-compose.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/compute-2-mep/mastodon/docker-compose.yaml b/compute-2-mep/mastodon/docker-compose.yaml index 123e7f0..81090da 100644 --- a/compute-2-mep/mastodon/docker-compose.yaml +++ b/compute-2-mep/mastodon/docker-compose.yaml @@ -15,7 +15,10 @@ services: web: image: ghcr.io/mastodon/mastodon:v4.3.0 restart: always - env_file: .env.production + env_file: + - path: .env.production + - path: .env + required: false command: bundle exec puma -C config/puma.rb healthcheck: # prettier-ignore @@ -43,7 +46,10 @@ services: streaming: image: ghcr.io/mastodon/mastodon-streaming:v4.3.0 restart: always - env_file: .env.production + env_file: + - path: .env.production + - path: .env + required: false command: node ./streaming/index.js healthcheck: # prettier-ignore @@ -66,7 +72,10 @@ services: sidekiq: image: ghcr.io/mastodon/mastodon:v4.3.0 restart: always - env_file: .env.production + env_file: + - path: .env.production + - path: .env + required: false command: bundle exec sidekiq healthcheck: test: ["CMD-SHELL", "ps aux | grep '[s]idekiq\ 6' || false"]