Modify docker-compose for tmpfs

Updated volume path for config.toml and added tmpfs configuration.
This commit is contained in:
Артур
2026-02-16 02:03:11 +03:00
committed by GitHub
parent 558155ffaa
commit 8072a97f7e

View File

@@ -5,8 +5,12 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
- "443:443" - "443:443"
# Allow caching 'proxy-secret' in read-only container
working_dir: /run/telemt
volumes: volumes:
- ./config.toml:/app/config.toml:ro - ./config.toml:/run/telemt/config.toml:ro
tmpfs:
- /run/telemt:rw,mode=1777,size=1m
environment: environment:
- RUST_LOG=info - RUST_LOG=info
# Uncomment this line if you want to use host network for IPv6, but bridge is default and usually better # Uncomment this line if you want to use host network for IPv6, but bridge is default and usually better