bsky-dj/docker-compose.yml
Óscar M. Lage 6fc6a49a26 Initial commit
Docker + Django fresh
2024-11-14 12:12:53 +01:00

37 lines
506 B
YAML

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