Files
appstore/apps/cerbos/latest/docker-compose.yml
T
okxlin 5dfd3185e0 Add cerbos app
Maintainer-workflow: appstore-pr-maintainer
2026-07-15 05:29:02 +08:00

27 lines
575 B
YAML

services:
cerbos:
image: "cerbos/cerbos:latest"
container_name: ${CONTAINER_NAME}
restart: unless-stopped
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:3592"
- "${PANEL_APP_PORT_GRPC}:3593"
environment:
- CERBOS_NO_TELEMETRY=1
volumes:
- "${APP_DATA_DIR}/policies:/policies"
healthcheck:
test: ["CMD", "/cerbos", "healthcheck"]
interval: 10s
timeout: 2s
start_period: 10s
retries: 5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true