Share those secrets around
This commit is contained in:
parent
8482921f37
commit
04855dc494
11
compose.yml
11
compose.yml
@ -78,9 +78,12 @@ services:
|
||||
|
||||
volumes: &appVolume
|
||||
- app:/mastodon
|
||||
# secrets: &secrets
|
||||
# - secret_key_base
|
||||
# - otp_secret
|
||||
secrets: &secrets
|
||||
- db_password
|
||||
- otp_secret
|
||||
- secret_key_base
|
||||
- smtp_password
|
||||
- vapid_private_key
|
||||
environment: &env
|
||||
- DB_HOST
|
||||
- DB_USER
|
||||
@ -171,6 +174,7 @@ services:
|
||||
streaming:
|
||||
image: *image
|
||||
command: node ./streaming
|
||||
secrets: *secrets
|
||||
networks: *bothNetworks
|
||||
healthcheck:
|
||||
test:
|
||||
@ -199,6 +203,7 @@ services:
|
||||
|
||||
sidekiq:
|
||||
image: *image
|
||||
secrets: *secrets
|
||||
command: bundle exec sidekiq
|
||||
deploy:
|
||||
update_config:
|
||||
|
Loading…
Reference in New Issue
Block a user