Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/infra/cap/docker-compose.node1.yml
T
2026-07-08 16:15:37 +02:00

47 lines
1.0 KiB
YAML

# Self-hosted Cap Standalone for staging/node1.
#
# node1 runs this as a plain docker-compose stack behind the existing
# Coolify Traefik proxy. The Cap container joins the external coolify network
# as cap-staging; the host port is kept on localhost for direct diagnostics.
name: cap
networks:
cap-net:
name: cap-net
coolify:
external: true
volumes:
cap-valkey-data:
name: cap-valkey-data
services:
cap:
image: ${CAP_IMAGE:-tiago2/cap:3.1.5}
restart: unless-stopped
networks:
cap-net:
coolify:
aliases:
- cap-staging
env_file: [.env]
ports:
- "127.0.0.1:7300:3000"
depends_on:
valkey:
condition: service_healthy
valkey:
image: valkey/valkey:9-alpine
restart: unless-stopped
networks: [cap-net]
volumes:
- cap-valkey-data:/data
command: valkey-server --save 60 1 --loglevel warning --maxmemory-policy noeviction
healthcheck:
test: ["CMD", "valkey-cli", "ping"]
interval: 5s
timeout: 3s
retries: 10