mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 13:23:41 -05:00
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:
parent
3105512277
commit
482b7a9397
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
Loading…
Add table
Reference in a new issue