1 2 3 4 5 6 7 8 9 10 11
services: plutia: image: golang:1.25 working_dir: /app command: sh -lc "go build -trimpath -o /app/bin/plutia ./cmd/plutia && /app/bin/plutia serve --config=/app/config.yaml" ports: - "8080:8080" volumes: - ./:/app - ./data:/app/data restart: unless-stopped