Files
upstream-watermill/_examples/pubsubs/sql/docker-compose.yml
2026-09-15 21:27:46 +05:00

21 lines
392 B
YAML

services:
server:
image: golang:1.25
restart: unless-stopped
depends_on:
- mysql
volumes:
- .:/app
- $GOPATH/pkg/mod:/go/pkg/mod
working_dir: /app
command: go run main.go
mysql:
image: mysql:8.0
restart: unless-stopped
ports:
- 3306:3306
environment:
MYSQL_DATABASE: watermill
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"