Files
telemt/docker-compose.yml
T

33 lines
810 B
YAML
Raw Normal View History

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"
- "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:
- no-new-privileges:true
ulimits:
nofile:
soft: 65536
2026-04-09 12:55:38 +03:00
hard: 262144