Skip to content

Commit

Permalink
dev use mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Oct 30, 2024
1 parent af5a83b commit 3b5d2ce
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dev.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
version: "3.9"

services:
database:
container_name: ${CONTAINER_BASENAME}_database
image: mariadb:jammy
image: mysql
networks:
- chevereto
volumes:
Expand All @@ -12,7 +10,8 @@ services:
- ${DB_PORT}:3306
restart: always
healthcheck:
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
# test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"] # MariaDB
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "--silent"] # MySQL
interval: 10s
timeout: 5s
retries: 3
Expand Down

0 comments on commit 3b5d2ce

Please sign in to comment.