From 8072a97f7e6f5a1ec82b2003632c8f20d9674041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=83=D1=80?= <149331898+sou1jacker@users.noreply.github.com> Date: Mon, 16 Feb 2026 02:03:11 +0300 Subject: [PATCH] Modify docker-compose for tmpfs Updated volume path for config.toml and added tmpfs configuration. --- docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5a23f14..f72b66d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,8 +5,12 @@ services: restart: unless-stopped ports: - "443:443" + # Allow caching 'proxy-secret' in read-only container + working_dir: /run/telemt volumes: - - ./config.toml:/app/config.toml:ro + - ./config.toml:/run/telemt/config.toml:ro + tmpfs: + - /run/telemt:rw,mode=1777,size=1m environment: - RUST_LOG=info # Uncomment this line if you want to use host network for IPv6, but bridge is default and usually better