set admin password via secret

This commit is contained in:
Moritz
2026-09-08 16:13:27 +02:00
parent 3c0b4d2ebd
commit 6ff565428c
3 changed files with 6 additions and 1 deletions
+4
View File
@@ -25,6 +25,7 @@ services:
COMPOSER:
secrets:
- db_password
- admin_password
configs:
- source: php_uploads_conf
target: /usr/local/etc/php/conf.d/uploads.ini
@@ -101,6 +102,9 @@ secrets:
db_password:
external: true
name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION}
admin_password:
external: true
name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION}
configs:
entrypoint_conf: