user-microservice/docker-compose.yml
2025-03-17 20:41:21 +00:00

16 lines
240 B
YAML

services:
api:
container_name: todo-api
hostname: todo-api
depends_on:
- db
build: .
env_file:
- api/.env
db:
container_name: db
hostname: db
image: mysql:latest
env_file:
- db/.env