aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yaml
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-05-13 16:30:11 +0000
committerterminaldweller <devi@terminaldweller.com>2024-05-13 16:30:11 +0000
commit7b6605142343a622a982ca36da5ee6fbd1cd9a19 (patch)
tree5cbb6026f9e4d87f4fbac5f7db7da14ffb575a52 /docker-compose.yaml
parentadded a config file for golangci-lint (diff)
downloadmilla-7b6605142343a622a982ca36da5ee6fbd1cd9a19.tar.gz
milla-7b6605142343a622a982ca36da5ee6fbd1cd9a19.zip
updated the readme, added example config file
Diffstat (limited to '')
-rw-r--r--docker-compose.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 69d0ba5..6e64496 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -1,4 +1,3 @@
-version: "3.9"
services:
milla:
image: milla
@@ -8,6 +7,7 @@ services:
resources:
limits:
memory: 64M
+ user: ${UID}:${GID}
logging:
driver: "json-file"
options:
@@ -15,14 +15,11 @@ services:
networks:
- millanet
restart: unless-stopped
- restart: no
command: ["--config", "/opt/milla/config.toml"]
volumes:
- ./config.toml:/opt/milla/config.toml
- /etc/ssl/certs:/etc/ssl/certs:ro
cap_drop:
- ALL
- environment:
- - SERVER_DEPLOYMENT_TYPE=deployment
networks:
millanet: