Share those secrets around

This commit is contained in:
decentral1se 2021-05-28 11:38:35 +02:00
parent 8482921f37
commit 04855dc494
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A

View File

@ -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: