fastify-at-mysql
Version:
Fastify MySQL to prevent SQL injection attacks
23 lines (20 loc) • 431 B
YAML
version: "3.8"
services:
mysql:
image: mysql:8
platform: linux/x86_64
ports:
- "127.0.0.1:3306:3306"
environment:
MYSQL_DATABASE: test
MYSQL_ROOT_PASSWORD: toor
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-uroot", "-ptoor"]
interval: 10s
timeout: 5s
retries: 5
networks:
- fastify_mysql_network
networks:
fastify_mysql_network:
driver: bridge