-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (49 loc) · 1.1 KB
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (49 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
services:
traefik:
image: traefik:v3.2
container_name: mtproxy-traefik
restart: unless-stopped
command:
- "--api.dashboard=false"
- "--entrypoints.websecure.address=:443"
- "--providers.file.directory=/etc/traefik/dynamic"
- "--providers.file.watch=true"
ports:
- "443:443"
volumes:
- ./traefik/static:/etc/traefik/static:ro
- ./traefik/dynamic:/etc/traefik/dynamic:ro
networks:
- mtproxy
telemt:
image: whn0thacked/telemt-docker:latest
container_name: mtproxy-telemt
restart: unless-stopped
environment:
RUST_LOG: "info"
volumes:
- ./telemt.toml:/etc/telemt.toml:ro
networks:
- mtproxy
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- NET_BIND_SERVICE
read_only: true
tmpfs:
- /tmp:rw,nosuid,nodev,noexec,size=16m
deploy:
resources:
limits:
cpus: "0.5"
memory: 256M
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
networks:
mtproxy:
driver: bridge