-
-
Notifications
You must be signed in to change notification settings - Fork 301
Closed
Description
I was wondering if somebody could help me out here, I am trying to convert the docker-compose.yml from the repo to use docker secrets. However, it seems like certain services defined with a command fail when trying to access the secrets. Also, the zulip service gives an error when trying to access certain secrets in the entrypoint.sh
Relevant code snippets:
docker-compose
secrets:
zulip_secrets.yaml:
file: './secrets/zulip_secrets.yaml'
...
zulip:
build: .
...
secrets:
- zulip_secrets.yamlzulip-secrets.yaml
secrets:
rabbitmq:
password: 'REPLACE_WITH_SECURE_RABBITMQ_PASSWORD'
postgres:
password: 'REPLACE_WITH_SECURE_POSTGRES_PASSWORD'
memcached:
password: 'REPLACE_WITH_SECURE_MEMCACHED_PASSWORD'
redis:
password: 'REPLACE_WITH_SECURE_REDIS_PASSWORD'
secret:
key: 'REPLACE_WITH_SECURE_SECRET_KEY'
email:
password: '123456789'error:
zulip_1 | Waiting for database server to allow connections ...
zulip_1 | /sbin/entrypoint.sh: line 311: SECRETS_postgres_password: parameter null or not set
docker-zulip_zulip_1 exited with code 1Thanks :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels