# Example docker-compose snippet for MelodyMuse. # # Drop this into your service directory (e.g. `services/melodymuse/` in a # Jannik-Cloud-style stack) and rename to `docker-compose.yml`. Pair it with # `Dockerfile`, `melodymuse.caddy`, and `generate-env.sh` from the same folder. services: melodymuse: build: context: . dockerfile: Dockerfile image: melodymuse:latest container_name: melodymuse restart: unless-stopped ports: # Only loopback — let your reverse proxy (Caddy) handle public traffic. - "127.0.0.1:3000:3000" environment: LLM_ENDPOINT: ${LLM_ENDPOINT} LLM_API_KEY: ${LLM_API_KEY} LLM_MODEL: ${LLM_MODEL:-MiniMax-M3} PORT: ${PORT:-3000} CORS_ORIGIN: ${CORS_ORIGIN:-*} deploy: resources: limits: cpus: "0.5" memory: 256M networks: - jannik-cloud-net networks: jannik-cloud-net: external: true