diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-09-02 14:38:07 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-09-02 14:38:07 +0000 |
commit | fa111011e09d0ec70ddbeb4016f2410a93805604 (patch) | |
tree | b8d5e6f71bdaa6c3a6583db13454aa07f3595edb /docker-compose.yaml | |
parent | fixes 8 (diff) | |
download | milla-fa111011e09d0ec70ddbeb4016f2410a93805604.tar.gz milla-fa111011e09d0ec70ddbeb4016f2410a93805604.zip |
updated the examples and the readme
Diffstat (limited to 'docker-compose.yaml')
-rw-r--r-- | docker-compose.yaml | 21 |
1 files changed, 12 insertions, 9 deletions
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: |