expose mariadb's port 3306 as tcp

This commit is contained in:
max 2024-12-27 19:43:24 +00:00 committed by theycallhermax
parent 66e1354dd7
commit 0c4d9ff6c0
No known key found for this signature in database
GPG key ID: 24D2803F3E25BF2D

View file

@ -7,6 +7,8 @@ services:
MARIADB_DATABASE: catask
MARIADB_USER: catask
MARIADB_PASSWORD: catask
expose:
- "3306/tcp"
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s