aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yaml
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-05-06 17:38:20 +0000
committerterminaldweller <devi@terminaldweller.com>2024-05-06 17:38:20 +0000
commita7abf29115f8c3a279c447487687296c7610ee96 (patch)
tree6debdd2ab81c08f9dc32fefc892c06512f775954 /docker-compose.yaml
parentgemini is finally fixed (diff)
downloadmilla-a7abf29115f8c3a279c447487687296c7610ee96.tar.gz
milla-a7abf29115f8c3a279c447487687296c7610ee96.zip
initial version of the prettier service
Diffstat (limited to '')
-rw-r--r--docker-compose.yaml23
1 files changed, 20 insertions, 3 deletions
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: