Sync deploy: backend, frontend, worker, docker, config

This commit is contained in:
Azouhri Abdelaziz
2026-02-04 18:21:59 +01:00
parent 178e66c9d8
commit 7183125a0d

View File

@@ -345,7 +345,6 @@ services:
image: prom/prometheus:latest
container_name: prometheus
volumes:
- ../config/prometheus:/etc/prometheus:ro
- prometheus_data:/prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
@@ -391,8 +390,7 @@ services:
container_name: loki
volumes:
- loki_data:/loki
- ../config/loki:/etc/loki:ro
command: -config.file=/etc/loki/loki-config.yml
command: -config.file=/etc/loki/local-config.yaml
networks:
- backend
restart: unless-stopped
@@ -403,23 +401,19 @@ services:
reservations:
memory: 256M
promtail:
image: grafana/promtail:latest
container_name: promtail
volumes:
- /var/log:/var/log:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ../config/promtail:/etc/promtail:ro
command: -config.file=/etc/promtail/promtail-config.yml
networks:
- backend
restart: unless-stopped
deploy:
resources:
limits:
memory: 256M
reservations:
memory: 64M
# Promtail disabled under Coolify: bind mount ../config/promtail is not resolved correctly.
# To re-enable, use Coolify Persistent Storage for config or fix Base Directory so config/ exists.
# promtail:
# image: grafana/promtail:latest
# container_name: promtail
# volumes:
# - /var/log:/var/log:ro
# - /var/run/docker.sock:/var/run/docker.sock:ro
# - ../config/promtail:/etc/promtail:ro
# command: -config.file=/etc/promtail/promtail-config.yml
# networks:
# - backend
# restart: unless-stopped
backup:
image: offen/docker-volume-backup:latest