version: '3.8' services: backend: build: context: ./backend dockerfile: Dockerfile ports: - "3001:3001" volumes: - ./backend/data:/app/data - ./backend/uploads:/app/uploads environment: - NODE_ENV=production - JWT_SECRET=change_this_secret_in_production restart: unless-stopped frontend: build: context: ./frontend dockerfile: Dockerfile args: VITE_API_URL: http://localhost:3001 ports: - "3000:80" depends_on: - backend restart: unless-stopped