services: server: build: context: ./server dockerfile: Dockerfile container_name: xly-server restart: unless-stopped ports: - "8181:8181" volumes: - ./server/.env:/app/.env:ro web: build: context: ./web dockerfile: Dockerfile container_name: xly-web restart: unless-stopped depends_on: - server ports: - "5174:80" volumes: - ./web/.env:/usr/share/nginx/html/.env:ro