Skip to content

Commit

Permalink
feat(db) set explicit parameter
Browse files Browse the repository at this point in the history
The parameter is already on by default in recent MariaDB versions, this is to ensure that people using older versions can still use the service and upgrade safely.
  • Loading branch information
porelli committed Aug 11, 2024
1 parent c026cb6 commit 26bcbbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ services:
MARIADB_USER: ${MARIADB_SYNCSTORAGE_USER}
MARIADB_PASSWORD: ${MARIADB_SYNCSTORAGE_PASSWORD}
MARIADB_AUTO_UPGRADE: "true"
command: [mariadbd, --explicit_defaults_for_timestamp]
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
Expand All @@ -60,6 +61,7 @@ services:
MARIADB_USER: ${MARIADB_TOKENSERVER_USER}
MARIADB_PASSWORD: ${MARIADB_TOKENSERVER_PASSWORD}
MARIADB_AUTO_UPGRADE: "true"
command: [mariadbd, --explicit_defaults_for_timestamp]
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
Expand Down

0 comments on commit 26bcbbc

Please sign in to comment.