Skip to content
Snippets Groups Projects
Commit 917cca20 authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

L2SS-475: test docker secret

parent ec6354fb
No related branches found
No related tags found
1 merge request!187Resolve L2SS-475 "Docker sensitive data"
version: '2'
secrets:
pg_password:
external: true
services:
archiver-timescale:
image: timescaledb
......@@ -10,10 +14,13 @@ services:
- control
ports:
- "5432:5432/tcp"
secrets:
- source: pg_password
target: POSTGRES_PASSWORD
depends_on:
- databaseds
environment:
- POSTGRES_PASSWORD=password
- POSTGRES_PASSWORD_FILE= '/run/secrets/db_password'
- TANGO_HOST=${TANGO_HOST}
logging:
driver: syslog
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment