dev use mysql

This commit is contained in:
Rodolfo Berrios
2024-10-30 15:13:22 -03:00
parent af5a83b566
commit 3b5d2ce2de

View File

@@ -1,9 +1,7 @@
version: "3.9"
services:
database:
container_name: ${CONTAINER_BASENAME}_database
image: mariadb:jammy
image: mysql
networks:
- chevereto
volumes:
@@ -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