aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yaml')
-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: