Files
event-uploader/docker-compose.yml
2026-02-03 10:38:46 +01:00

20 lines
485 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MySQL only for local development. API, admin, and upload run on the host.
services:
mysql:
image: mysql:8.0
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: event_uploader
volumes:
- event_uploader_mysql_data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-psecret"]
interval: 5s
timeout: 5s
retries: 10
volumes:
event_uploader_mysql_data: