remove port expose declaration in docker compose as the mariadb image already has this

add static ip address to catask network
This commit is contained in:
max 2024-12-30 02:36:08 +00:00 committed by theycallhermax
parent 3105512277
commit 482b7a9397
No known key found for this signature in database
GPG key ID: 24D2803F3E25BF2D

View file

@ -7,8 +7,6 @@ services:
MARIADB_DATABASE: catask
MARIADB_USER: catask
MARIADB_PASSWORD: catask
expose:
- "3306/tcp"
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
@ -40,6 +38,9 @@ services:
networks:
catask:
driver: bridge
driver_opts:
com.docker.network.bridge.host_binding_ipv4: "127.0.0.1"
volumes:
db-data: