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