fixup! update docker-compose

This commit is contained in:
Bence Pőcze 2023-09-16 22:11:42 +02:00
parent fb86162009
commit 16f904e17b
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -6,7 +6,8 @@ services:
dockerfile: docker/Dockerfile dockerfile: docker/Dockerfile
target: mapg_dev target: mapg_dev
depends_on: depends_on:
- mariadb mariadb:
condition: service_healthy
ports: ports:
- 80:80 - 80:80
- 5000:5000 - 5000:5000
@ -26,6 +27,10 @@ services:
MYSQL_DATABASE: 'mapguesser' MYSQL_DATABASE: 'mapguesser'
MYSQL_USER: 'mapguesser' MYSQL_USER: 'mapguesser'
MYSQL_PASSWORD: 'mapguesser' MYSQL_PASSWORD: 'mapguesser'
healthcheck:
test: ["CMD", 'mysqladmin', 'ping', '-h', 'localhost', '-u', '$$MYSQL_USER', '-p$$MYSQL_PASSWORD' ]
timeout: 5s
retries: 10
adminer: adminer:
image: adminer:4.8.1-standalone image: adminer:4.8.1-standalone
ports: ports: