Merge pull request #91 from trails-cool/fix-caddy-env
Fix Caddy env vars and Loki compactor config
This commit is contained in:
commit
4751176da9
3 changed files with 6 additions and 1 deletions
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
|
|
@ -79,7 +79,7 @@ jobs:
|
|||
host: ${{ secrets.DEPLOY_HOST }}
|
||||
username: root
|
||||
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||
source: "infrastructure/docker-compose.yml,infrastructure/Caddyfile"
|
||||
source: "infrastructure/docker-compose.yml,infrastructure/Caddyfile,infrastructure/prometheus/prometheus.yml,infrastructure/loki/loki-config.yml,infrastructure/grafana/provisioning,infrastructure/grafana/dashboards"
|
||||
target: /opt/trails-cool
|
||||
strip_components: 1
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@ services:
|
|||
- "80:80"
|
||||
- "443:443"
|
||||
- "443:443/udp"
|
||||
environment:
|
||||
DOMAIN: ${DOMAIN:-trails.cool}
|
||||
GRAFANA_USER: ${GRAFANA_USER:-admin}
|
||||
GRAFANA_PASSWORD_HASH: ${GRAFANA_PASSWORD_HASH:-}
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
- caddy_data:/data
|
||||
|
|
|
|||
|
|
@ -30,3 +30,4 @@ limits_config:
|
|||
compactor:
|
||||
working_directory: /loki/compactor
|
||||
retention_enabled: true
|
||||
delete_request_store: filesystem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue