You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
246 B

services:
db:
container_name: gormExampleMySQL
image: mysql
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: gormExample
ports:
- "3306:3306"
volumes:
- ./mysql/data:/var/lib/mysql