services: project-bus: build: context: .. dockerfile: deploy/Dockerfile restart: unless-stopped environment: PROJECT_BUS_BOOTSTRAP_TOKEN: "${PROJECT_BUS_BOOTSTRAP_TOKEN:?set a strong bootstrap token}" PROJECT_BUS_TOKENS_JSON: "${PROJECT_BUS_TOKENS_JSON:-}" PROJECT_BUS_ALLOWED_ORIGINS: "${PROJECT_BUS_ALLOWED_ORIGINS:-}" ports: - "127.0.0.1:8080:8080" volumes: - project-bus-data:/data read_only: true tmpfs: - /tmp:size=16m,noexec,nosuid,nodev security_opt: - no-new-privileges:true cap_drop: - ALL volumes: project-bus-data: