services: app: build: context: ../.. dockerfile: alt/rust/Dockerfile restart: unless-stopped expose: - "3000" environment: PORT: "3000" DB_PATH: /app/data/ytplayer.db MEDIA_DIR: /app/data/media MEDIA_VOLUME_MARKER: ${MEDIA_VOLUME_MARKER:-} MEDIA_CACHE_MAX_BYTES: ${MEDIA_CACHE_MAX_BYTES:-10737418240} PUBLIC_DIR: /app/public volumes: - ytplayer-rust-data:/app/data healthcheck: test: ["CMD", "curl", "-fsS", "http://127.0.0.1:3000/api/version"] interval: 30s timeout: 5s retries: 3 start_period: 10s networks: - dokploy-network volumes: ytplayer-rust-data: networks: dokploy-network: external: true