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 volumes: &appVolume
- app:/mastodon - app:/mastodon
# secrets: &secrets secrets: &secrets
# - secret_key_base - db_password
# - otp_secret - otp_secret
- secret_key_base
- smtp_password
- vapid_private_key
environment: &env environment: &env
- DB_HOST - DB_HOST
- DB_USER - DB_USER
@ -171,6 +174,7 @@ services:
streaming: streaming:
image: *image image: *image
command: node ./streaming command: node ./streaming
secrets: *secrets
networks: *bothNetworks networks: *bothNetworks
healthcheck: healthcheck:
test: test:
@ -199,6 +203,7 @@ services:
sidekiq: sidekiq:
image: *image image: *image
secrets: *secrets
command: bundle exec sidekiq command: bundle exec sidekiq
deploy: deploy:
update_config: update_config: