stickers/docker-compose.yml
2025-12-12 20:28:31 -05:00

26 lines
525 B
YAML

services:
backend:
build:
context: .
dockerfile: Dockerfile
target: backend
expose:
- "9292"
env_file:
- path: ./backend/.env
required: false
environment:
FRONTEND_URL: ${FRONTEND_URL:-http://localhost:5173}
frontend:
build:
context: .
dockerfile: Dockerfile
target: frontend
expose:
- "3000"
environment:
ORIGIN: ${ORIGIN:-http://localhost:5173}
BACKEND_URL: http://backend:9292
depends_on:
- backend