diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index c8454df315..e13c7b3168 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -8,6 +8,10 @@ services: - /logs:/var/www/server/logs networks: - general + logging: + driver: loki + options: + loki-url: "http://admin:${LOKI_PASSWORD}@monitoring.lunie.io:3100/loki/api/v1/push" deploy: replicas: 1 environment: diff --git a/docker-compose.yml b/docker-compose.yml index 7d665f922d..02542d5cff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,10 @@ services: - /logs:/var/www/server/logs networks: - general + logging: + driver: loki + options: + loki-url: "http://admin:${LOKI_PASSWORD}@monitoring.lunie.io:3100/loki/api/v1/push" deploy: replicas: 1 environment: