version: '3.8' services: backend: build: ./backend container_name: ticky-backend ports: - "3222:3001" environment: - VIDEOS_DIR=/videos volumes: - ./videos:/videos:ro restart: unless-stopped frontend: build: ./frontend container_name: ticky-frontend ports: - "3111:3000" depends_on: - backend environment: - API_URL=http://backend:3001 volumes: - ./frontend:/app restart: unless-stopped volumes: videos: