add env file for mastodon
This commit is contained in:
parent
a64b7b6294
commit
71cf1c9b18
1 changed files with 12 additions and 3 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue