Repent my ways of PASSWD
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-11-02 18:20:13 +01:00
parent 6a5f6ea807
commit dc2866e306
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 14 additions and 14 deletions

View File

@ -8,8 +8,8 @@ services:
- internal
- proxy
secrets:
- db_passwd
- shared_lists_db_passwd
- db_password
- shared_lists_db_password
configs:
- source: app_config
target: /usr/src/app/config/app_config.yml
@ -48,7 +48,7 @@ services:
- SHARED_LISTS_USER
- SMTP_ADDRESS
- SMTP_DOMAIN
- SMTP_PASSWORD_FILE=/var/run/secrets/smtp_passwd
- SMTP_PASSWORD_FILE=/var/run/secrets/smtp_password
- SMTP_PORT
- SMTP_USER_NAME
healthcheck:
@ -96,11 +96,11 @@ services:
environment:
- MYSQL_DATABASE=foodsoft
- MYSQL_USER=foodsoft
- MYSQL_PASSWORD_FILE=/run/secrets/db_passwd
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_root_passwd
- MYSQL_PASSWORD_FILE=/run/secrets/db_password
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_root_password
secrets:
- db_passwd
- db_root_passwd
- db_password
- db_root_password
volumes:
- "database:/var/lib/mysql"
networks:
@ -134,16 +134,16 @@ configs:
template_driver: golang
secrets:
db_passwd:
name: ${STACK_NAME}_db_passwd_${SECRET_DB_PASSWORD_VERSION}
db_password:
name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION}
external: true
db_root_passwd:
name: ${STACK_NAME}_db_root_passwd_${SECRET_DB_ROOT_PASSWORD_VERSION}
db_root_password:
name: ${STACK_NAME}_db_root_password_${SECRET_DB_ROOT_PASSWORD_VERSION}
external: true
shared_lists_db_passwd:
name: ${STACK_NAME}_shared_lists_db_passwd_${SECRET_SHARED_LISTS_DB_PASSWORD_VERSION}
shared_lists_db_password:
name: ${STACK_NAME}_shared_lists_db_password_${SECRET_SHARED_LISTS_DB_PASSWORD_VERSION}
external: true
smtp_passwd:
smtp_password:
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
external: true
secret_key_base: