2026-02-13 21:06:06 +03:00
|
|
|
services:
|
|
|
|
|
telemt:
|
2026-02-27 01:53:22 +03:00
|
|
|
image: ghcr.io/telemt/telemt:latest
|
2026-02-13 21:06:06 +03:00
|
|
|
build: .
|
|
|
|
|
container_name: telemt
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
|
- "443:443"
|
2026-03-03 17:18:19 +03:00
|
|
|
- "127.0.0.1:9090:9090"
|
2026-03-19 15:54:01 +03:00
|
|
|
- "127.0.0.1:9091:9091"
|
2026-02-16 02:03:11 +03:00
|
|
|
# Allow caching 'proxy-secret' in read-only container
|
2026-04-09 12:55:38 +03:00
|
|
|
working_dir: /etc/telemt
|
2026-02-13 21:06:06 +03:00
|
|
|
volumes:
|
2026-04-09 12:55:38 +03:00
|
|
|
- ./config.toml:/etc/telemt/config.toml:ro
|
2026-02-16 02:03:11 +03:00
|
|
|
tmpfs:
|
2026-04-09 12:55:38 +03:00
|
|
|
- /etc/telemt:rw,mode=1777,size=4m
|
2026-02-13 21:06:06 +03:00
|
|
|
environment:
|
|
|
|
|
- RUST_LOG=info
|
|
|
|
|
# Uncomment this line if you want to use host network for IPv6, but bridge is default and usually better
|
|
|
|
|
# network_mode: host
|
|
|
|
|
cap_drop:
|
|
|
|
|
- ALL
|
|
|
|
|
cap_add:
|
2026-04-09 12:55:38 +03:00
|
|
|
- NET_BIND_SERVICE
|
|
|
|
|
- NET_ADMIN
|
2026-02-13 21:06:06 +03:00
|
|
|
read_only: true
|
|
|
|
|
security_opt:
|
2026-02-14 01:55:33 +03:00
|
|
|
- no-new-privileges:true
|
|
|
|
|
ulimits:
|
|
|
|
|
nofile:
|
|
|
|
|
soft: 65536
|
2026-04-09 12:55:38 +03:00
|
|
|
hard: 262144
|