bsky-dj/docker-compose.yml

37 lines
506 B
YAML
Raw Normal View History

2024-11-14 12:12:53 +01:00
name: bskydj
services:
app:
build: .
stdin_open: true
tty: true
command: ["run-server"]
env_file:
- ./.env
depends_on:
- db
volumes:
- ./src:/code/
ports:
- ${APP_PORT}:${APP_PORT}
networks:
- app
- default
db:
image: mysql:9.1.0
env_file:
- ./.env
volumes:
- ./data/mysql:/var/lib/mysql
ports:
- ${MYSQL_PORT}:3306
networks:
- app
networks:
app:
name: app
external: true