docker secret rotate
version: "3.4"
services:
# CFML Engine
cfml:
image: ortussolutions/commandbox:lucee5-2.3.0
environment:
DSN_HOST: <<SECRET:company.azure.sql.host>>
DSN_DB: <<SECRET:website.dsn.db>>
DSN_USERNAME: <<SECRET:website.dsn.username>>
DSN_PASSWORD: <<SECRET:website.dsn.password>>
secrets:
- source: company.azure.sql.host.v1
target: company.azure.sql.host
- source: website.dsn.db.v1
target: website.dsn.db
- source: website.dsn.username.v1
target: website.dsn.username
- source: website.dsn.password.v1
target: website.dsn.password
secrets:
company.azure.sql.host.v1:
external: true
website.dsn.db.v1:
external: true
website.dsn.username.v1:
external: true
website.dsn.password.v1:
external: true