Repent my ways of PASSWD
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
6a5f6ea807
commit
dc2866e306
28
compose.yml
28
compose.yml
|
@ -8,8 +8,8 @@ services:
|
||||||
- internal
|
- internal
|
||||||
- proxy
|
- proxy
|
||||||
secrets:
|
secrets:
|
||||||
- db_passwd
|
- db_password
|
||||||
- shared_lists_db_passwd
|
- shared_lists_db_password
|
||||||
configs:
|
configs:
|
||||||
- source: app_config
|
- source: app_config
|
||||||
target: /usr/src/app/config/app_config.yml
|
target: /usr/src/app/config/app_config.yml
|
||||||
|
@ -48,7 +48,7 @@ services:
|
||||||
- SHARED_LISTS_USER
|
- SHARED_LISTS_USER
|
||||||
- SMTP_ADDRESS
|
- SMTP_ADDRESS
|
||||||
- SMTP_DOMAIN
|
- SMTP_DOMAIN
|
||||||
- SMTP_PASSWORD_FILE=/var/run/secrets/smtp_passwd
|
- SMTP_PASSWORD_FILE=/var/run/secrets/smtp_password
|
||||||
- SMTP_PORT
|
- SMTP_PORT
|
||||||
- SMTP_USER_NAME
|
- SMTP_USER_NAME
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
@ -96,11 +96,11 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_DATABASE=foodsoft
|
- MYSQL_DATABASE=foodsoft
|
||||||
- MYSQL_USER=foodsoft
|
- MYSQL_USER=foodsoft
|
||||||
- MYSQL_PASSWORD_FILE=/run/secrets/db_passwd
|
- MYSQL_PASSWORD_FILE=/run/secrets/db_password
|
||||||
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_root_passwd
|
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_root_password
|
||||||
secrets:
|
secrets:
|
||||||
- db_passwd
|
- db_password
|
||||||
- db_root_passwd
|
- db_root_password
|
||||||
volumes:
|
volumes:
|
||||||
- "database:/var/lib/mysql"
|
- "database:/var/lib/mysql"
|
||||||
networks:
|
networks:
|
||||||
|
@ -134,16 +134,16 @@ configs:
|
||||||
template_driver: golang
|
template_driver: golang
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
db_passwd:
|
db_password:
|
||||||
name: ${STACK_NAME}_db_passwd_${SECRET_DB_PASSWORD_VERSION}
|
name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION}
|
||||||
external: true
|
external: true
|
||||||
db_root_passwd:
|
db_root_password:
|
||||||
name: ${STACK_NAME}_db_root_passwd_${SECRET_DB_ROOT_PASSWORD_VERSION}
|
name: ${STACK_NAME}_db_root_password_${SECRET_DB_ROOT_PASSWORD_VERSION}
|
||||||
external: true
|
external: true
|
||||||
shared_lists_db_passwd:
|
shared_lists_db_password:
|
||||||
name: ${STACK_NAME}_shared_lists_db_passwd_${SECRET_SHARED_LISTS_DB_PASSWORD_VERSION}
|
name: ${STACK_NAME}_shared_lists_db_password_${SECRET_SHARED_LISTS_DB_PASSWORD_VERSION}
|
||||||
external: true
|
external: true
|
||||||
smtp_passwd:
|
smtp_password:
|
||||||
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
|
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
|
||||||
external: true
|
external: true
|
||||||
secret_key_base:
|
secret_key_base:
|
||||||
|
|
Reference in New Issue