forked from bluet/docker-cronicle-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
30 lines (30 loc) · 968 Bytes
/
docker-compose.yml
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
version: '3.8'
services:
cronicle:
image: bluet/cronicle-docker:latest
container_name: cronicle
hostname: cronicle
# environment:
# - TZ=Asia/Taipei
# - CRONICLE_base_app_url=http://cronicle/
ports:
- "3012:3012"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/docker/cronicle/data:/opt/cronicle/data
- /data/docker/cronicle/logs:/opt/cronicle/logs
- /data/docker/cronicle/plugins:/opt/cronicle/plugins
- /data/docker/cronicle/workloads/app:/app
restart: unless-stopped
# dns-proxy-server helps mapping http://cronicle/ to your container IP http://172.16.xx.xx/
# dps:
# image: defreitas/dns-proxy-server
# container_name: 'dps'
# ports:
# - '0.0.0.0:5380:5380'
# hostname: dps
# environment:
# - MG_RESOLVCONF=/host/resolve/stub-resolv.conf
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# - /run/systemd/resolve:/host/resolve