aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yaml
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-01-27 19:16:00 +0000
committerterminaldweller <devi@terminaldweller.com>2024-01-27 19:16:00 +0000
commit531e98e8cca6fef22b048d7c0621e5f85abd040f (patch)
tree1811dbee7bfcccd2bba503a3c354c63f60574921 /docker-compose.yaml
parentInitial commit (diff)
downloadmilla-531e98e8cca6fef22b048d7c0621e5f85abd040f.tar.gz
milla-531e98e8cca6fef22b048d7c0621e5f85abd040f.zip
first commit
Diffstat (limited to '')
-rw-r--r--docker-compose.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml
new file mode 100644
index 0000000..19bb2ab
--- /dev/null
+++ b/docker-compose.yaml
@@ -0,0 +1,28 @@
+version: "3.9"
+services:
+ milla:
+ image: milla
+ build:
+ context: .
+ deploy:
+ resources:
+ limits:
+ memory: 64M
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "100m"
+ networks:
+ - millanet
+ restart: unless-stopped
+ volumes:
+ - ./config.toml:/opt/milla/config.toml
+ cap_drop:
+ - ALL
+ dns:
+ - 9.9.9.9
+ environment:
+ - SERVER_DEPLOYMENT_TYPE=deployment
+ entrypoint: ["/milla/milla"]
+networks:
+ millanet: