refactor: move db_root_password to mariadb (#38)
continuous-integration/drone/push Build is passing Details

It is only used by mariadb and not by postgres

Closes #34

Reviewed-on: #38
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
This commit is contained in:
p4u1 2023-12-22 12:09:07 +00:00 committed by p4u1
parent a34e100bd7
commit eefb14e150
2 changed files with 5 additions and 3 deletions

View File

@ -42,5 +42,10 @@ configs:
name: ${STACK_NAME}_my_cnf_${MY_CNF_VERSION}
file: my-tune.cnf
secrets:
db_root_password:
external: true
name: ${STACK_NAME}_db_root_password_${SECRET_DB_ROOT_PASSWORD_VERSION}
volumes:
mariadb:

View File

@ -127,9 +127,6 @@ services:
retries: 20
secrets:
db_root_password:
external: true
name: ${STACK_NAME}_db_root_password_${SECRET_DB_ROOT_PASSWORD_VERSION}
db_password:
external: true
name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION}