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
818 B
33 lines
818 B
version: '3.8' |
|
|
|
services: |
|
gitcitadel-online: |
|
build: |
|
context: . |
|
dockerfile: Dockerfile |
|
container_name: gitcitadel-online |
|
restart: unless-stopped |
|
ports: |
|
- "8080: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 |
|
networks: |
|
- gitcitadel-network |
|
healthcheck: |
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"] |
|
interval: 30s |
|
timeout: 10s |
|
retries: 3 |
|
start_period: 40s |
|
|
|
networks: |
|
gitcitadel-network: |
|
driver: bridge
|
|
|