-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.build.yml
More file actions
41 lines (41 loc) · 1.06 KB
/
docker-compose.build.yml
File metadata and controls
41 lines (41 loc) · 1.06 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
services:
ton-node:
image: ton-node
container_name: ton-node
build:
context: .
dockerfile: Dockerfile
args:
TON_BRANCH: ${TON_BRANCH:-latest}
restart: unless-stopped
ports:
- "0.0.0.0:$VALIDATOR_PORT:$VALIDATOR_PORT/udp"
- "0.0.0.0:$LITESERVER_PORT:$LITESERVER_PORT/tcp"
tty: true
volumes:
- ton:/var/ton-work
- mytoncore:/usr/local/bin/mytoncore
environment:
TON_BRANCH: ${TON_BRANCH}
GLOBAL_CONFIG_URL: ${GLOBAL_CONFIG_URL}
IGNORE_MINIMAL_REQS: ${IGNORE_MINIMAL_REQS}
MYTONCTRL_VERSION: ${MYTONCTRL_VERSION}
DUMP: ${DUMP}
MODE: ${MODE}
ARCHIVE_TTL: ${ARCHIVE_TTL}
STATE_TTL: ${STATE_TTL}
VERBOSITY: ${VERBOSITY}
PUBLIC_IP: ${PUBLIC_IP}
VALIDATOR_PORT: ${VALIDATOR_PORT}
LITESERVER_PORT: ${LITESERVER_PORT}
VALIDATOR_CONSOLE_PORT: ${VALIDATOR_CONSOLE_PORT}
logging:
driver: "json-file"
options:
max-size: 100m
max-file: "3"
volumes:
ton:
name: ton-work
mytoncore:
name: mytoncore