Fixed indentation
This commit is contained in:
parent
70f026edf6
commit
9d6418bdcd
37
compose.yml
37
compose.yml
@ -1,4 +1,3 @@
|
|||||||
---
|
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
@ -36,30 +35,32 @@ services:
|
|||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 10
|
retries: 10
|
||||||
start_period: 1m
|
start_period: 1m
|
||||||
db:
|
db:
|
||||||
image: "mysql:9.1"
|
image: "mysql:9.1"
|
||||||
volumes:
|
volumes:
|
||||||
- mysql-data:/var/lib/mysql
|
- mysql-data:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_root_password
|
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_root_password
|
||||||
- MYSQL_USER_FILE=/run/secrets/db_username
|
- MYSQL_USER_FILE=/run/secrets/db_username
|
||||||
- MYSQL_PASSWORD_FILE=/run/secrets/db_password
|
- MYSQL_PASSWORD_FILE=/run/secrets/db_password
|
||||||
- MYSQL_DATABASE=xwiki
|
- MYSQL_DATABASE=xwiki
|
||||||
command:
|
command:
|
||||||
- "--character-set-server=utf8mb4"
|
- "--character-set-server=utf8mb4"
|
||||||
- "--collation-server=utf8mb4_bin"
|
- "--collation-server=utf8mb4_bin"
|
||||||
- "--explicit-defaults-for-timestamp=1"
|
- "--explicit-defaults-for-timestamp=1"
|
||||||
secrets:
|
secrets:
|
||||||
- db_username
|
- db_username
|
||||||
- db_password
|
- db_password
|
||||||
- db_root_password
|
- db_root_password
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mysql-data:
|
mysql-data:
|
||||||
xwiki-data:
|
xwiki-data:
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
db_username:
|
db_username:
|
||||||
name: ${STACK_NAME}_db_username_${SECRET_DB_USERNAME_VERSION}
|
name: ${STACK_NAME}_db_username_${SECRET_DB_USERNAME_VERSION}
|
||||||
|
Loading…
Reference in New Issue
Block a user