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:
|
web:
|
||||||
image: ghcr.io/mastodon/mastodon:v4.3.0
|
image: ghcr.io/mastodon/mastodon:v4.3.0
|
||||||
restart: always
|
restart: always
|
||||||
env_file: .env.production
|
env_file:
|
||||||
|
- path: .env.production
|
||||||
|
- path: .env
|
||||||
|
required: false
|
||||||
command: bundle exec puma -C config/puma.rb
|
command: bundle exec puma -C config/puma.rb
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
|
@ -43,7 +46,10 @@ services:
|
||||||
streaming:
|
streaming:
|
||||||
image: ghcr.io/mastodon/mastodon-streaming:v4.3.0
|
image: ghcr.io/mastodon/mastodon-streaming:v4.3.0
|
||||||
restart: always
|
restart: always
|
||||||
env_file: .env.production
|
env_file:
|
||||||
|
- path: .env.production
|
||||||
|
- path: .env
|
||||||
|
required: false
|
||||||
command: node ./streaming/index.js
|
command: node ./streaming/index.js
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
|
@ -66,7 +72,10 @@ services:
|
||||||
sidekiq:
|
sidekiq:
|
||||||
image: ghcr.io/mastodon/mastodon:v4.3.0
|
image: ghcr.io/mastodon/mastodon:v4.3.0
|
||||||
restart: always
|
restart: always
|
||||||
env_file: .env.production
|
env_file:
|
||||||
|
- path: .env.production
|
||||||
|
- path: .env
|
||||||
|
required: false
|
||||||
command: bundle exec sidekiq
|
command: bundle exec sidekiq
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "ps aux | grep '[s]idekiq\ 6' || false"]
|
test: ["CMD-SHELL", "ps aux | grep '[s]idekiq\ 6' || false"]
|
||||||
|
|
Loading…
Reference in a new issue