Files
Home_assistant/docker-compose.yml
T
2026-06-09 12:47:13 +03:00

23 lines
483 B
YAML

services:
backend:
build: ./backend
ports:
- "${BACKEND_PORT:-8080}:${BACKEND_INTERNAL_PORT:-8080}"
env_file: .env
volumes:
- ./data:/app/data
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
frontend:
build:
context: ./frontend
args:
VITE_API_URL: ""
ports:
- "${FRONTEND_PORT:-3080}:${FRONTEND_INTERNAL_PORT:-80}"
depends_on:
- backend
restart: unless-stopped