Skip to content

Commit f36e15d

Browse files
committed
cronicle init
1 parent 16a05d5 commit f36e15d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

cronicle/docker-compose.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
version: "3"
2+
3+
services:
4+
cronicle:
5+
container_name: cronicle
6+
image: soulteary/cronicle:latest
7+
restart: always
8+
hostname: cronicle
9+
ports:
10+
- ${PORT}:3012
11+
volumes:
12+
- /etc/localtime:/etc/localtime:ro
13+
- /etc/timezone:/etc/timezone:ro
14+
- ./data/data:/opt/cronicle/data
15+
- ./data/logs:/opt/cronicle/logs
16+
- ./data/plugins:/opt/cronicle/plugins
17+
extra_hosts:
18+
- "cronicle.lab.io:0.0.0.0"
19+
environment:
20+
- TZ=US/Mountain
21+
healthcheck:
22+
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider localhost:3012/api/app/ping || exit 1"]
23+
interval: 5s
24+
timeout: 1s
25+
retries: 3
26+
logging:
27+
driver: "json-file"
28+
options:
29+
max-size: "10m"
30+
network_mode: host

0 commit comments

Comments
 (0)