You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
892 B
33 lines
892 B
version: '3.8' |
|
|
|
services: |
|
gitcitadel-online: |
|
build: |
|
context: . |
|
dockerfile: Dockerfile |
|
container_name: gitcitadel-online |
|
restart: unless-stopped |
|
ports: |
|
# Expose port 2323 for Apache reverse proxy (maps to container port 8080) |
|
- "2323:8080" |
|
volumes: |
|
# Mount config file (create from config.yaml.example) |
|
- ./config.yaml:/app/config.yaml:ro |
|
# Persist cache directory |
|
- ./cache:/app/cache |
|
environment: |
|
# Optional: override config path |
|
# - CONFIG_PATH=/app/config.yaml |
|
# Optional: set log level |
|
# - LOG_LEVEL=info |
|
healthcheck: |
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"] |
|
interval: 30s |
|
timeout: 10s |
|
retries: 3 |
|
start_period: 40s |
|
deploy: |
|
resources: |
|
limits: |
|
cpus: '1' |
|
memory: 512M |