Files
BiliNote/docker-compose.yml
Jefferyhcool 0e0b8da317 first commit
2025-04-13 17:44:54 +08:00

29 lines
558 B
YAML

services:
backend:
container_name: bilinote-backend
build:
context: .
dockerfile: backend/Dockerfile
env_file:
- .env
environment:
- BACKEND_PORT=${BACKEND_PORT}
- BACKEND_HOST=${BACKEND_HOST}
volumes:
- ./backend:/app
ports:
- "${BACKEND_PORT}:${BACKEND_PORT}"
depends_on:
- frontend
frontend:
container_name: bilinote-frontend
build:
context: .
dockerfile: BillNote_frontend/Dockerfile
env_file:
- .env
ports:
- "${FRONTEND_PORT}:80"