-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
26 lines (25 loc) · 745 Bytes
/
docker-compose.yml
File metadata and controls
26 lines (25 loc) · 745 Bytes
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
services:
mountain:
container_name: mountain
image: help14/mountain
restart: unless-stopped
#user: root # optional, if you have permission problem
volumes:
- ./serve:/serve
- ./data:/data
ports:
- "7002:8080"
environment:
- SERVE_PATH=/serve
- LOG_PATH=/data/log.txt # optional, can comment this
watchtower: # only needed to update if you haven't had one
image: containrrr/watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/.docker/config.json:/config.json
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_LABEL_ENABLE=true
- WATCHTOWER_INCLUDE_RESTARTING=true
command: --interval 30