From fa111011e09d0ec70ddbeb4016f2410a93805604 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 2 Sep 2024 10:38:07 -0400 Subject: updated the examples and the readme --- docker-compose.yaml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'docker-compose.yaml') diff --git a/docker-compose.yaml b/docker-compose.yaml index 6e64496..97413b0 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,25 +1,28 @@ services: - milla: - image: milla + terra: + image: milla_distroless_vendored build: context: . + dockerfile: ./Dockerfile_distroless_vendored deploy: resources: limits: - memory: 64M - user: ${UID}:${GID} + memory: 128M logging: driver: "json-file" options: max-size: "100m" networks: - - millanet + - terranet + user: 1000:1000 restart: unless-stopped - command: ["--config", "/opt/milla/config.toml"] + entrypoint: ["/usr/bin/milla"] + command: ["--config", "/config.toml"] volumes: - - ./config.toml:/opt/milla/config.toml - - /etc/ssl/certs:/etc/ssl/certs:ro + - ./config-omni.toml:/config.toml + - /etc/localtime:/etc/localtime:ro + - ./plugins/:/plugins/:ro cap_drop: - ALL networks: - millanet: + terranet: -- cgit v1.2.3