Files
mtprotoproxy/docker-compose.yml
Erfan 15a8f607ca added ability to load time from local time set on original server (#230)
using this command the local time setting will be pushed to docker as a read-only file so you can use your local time
2020-06-20 15:59:25 +05:00

17 lines
402 B
YAML

version: '2.0'
services:
mtprotoproxy:
build: .
restart: unless-stopped
network_mode: "host"
volumes:
- ./config.py:/home/tgproxy/config.py
- ./mtprotoproxy.py:/home/tgproxy/mtprotoproxy.py
- /etc/localtime:/etc/localtime:ro
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "10m"
# mem_limit: 1024m