From a7abf29115f8c3a279c447487687296c7610ee96 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 6 May 2024 17:38:20 +0000 Subject: initial version of the prettier service --- docker-compose.yaml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'docker-compose.yaml') diff --git a/docker-compose.yaml b/docker-compose.yaml index 4ffd19c..605f96d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -20,10 +20,27 @@ services: - ./config.toml:/opt/milla/config.toml cap_drop: - ALL - dns: - - 9.9.9.9 environment: - SERVER_DEPLOYMENT_TYPE=deployment - entrypoint: ["/milla/milla"] + prettier: + build: + context: ./prettier + deploy: + resources: + limits: + memory: 128M + logging: + driver: "json-file" + options: + max-size: "100m" + networks: + - millanet + restart: unless-stopped + cap_drop: + - ALL + cap_add: + - NET_BIND_SERVICE + ports: + - "127.0.0.1:9001:9001" networks: millanet: -- cgit v1.2.3