name: sideprojects services: web: build: . ports: - "127.0.0.1:8765:8080" env_file: .env environment: SP_ACCESS_TOKEN: ${SP_ACCESS_TOKEN:?Set SP_ACCESS_TOKEN in .env} SP_AGENT_TOKEN: ${SP_AGENT_TOKEN:-} volumes: - tracker-data:/data networks: default: aliases: - sideprojects gaffer: profiles: ["gaffer"] build: ./agent image: sideprojects-agent:latest command: ["check"] depends_on: web: condition: service_healthy environment: SP_API: http://web:8080 SP_AGENT_TOKEN: ${SP_AGENT_TOKEN:-} SP_OWNER_NAME: ${SP_OWNER_NAME:-You} volumes: - gaffer-state:/state - gaffer-work:/work - ./agent/secrets:/run/agent-secrets:ro volumes: tracker-data: gaffer-state: gaffer-work: