-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·31 lines (29 loc) · 764 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
executable file
·31 lines (29 loc) · 764 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
27
28
29
30
31
# Installation: https://dashy.to/docs/deployment#using-docker-compose
services:
dashy:
image: lissy93/dashy:3.1.0
container_name: Dashy
# Pass in your config file below, by specifying the path on your host machine
volumes:
- /opt/appdata/dashy/my-config.yml:/app/public/conf.yml
ports:
- 4000:80
# Set any environmental variables
environment:
- NODE_ENV=${DASHY_NODE_ENV}
- UID=${DASHY_UID}
- GID=${DASHY_GID}
restart: unless-stopped
# Configure healthchecks
healthcheck:
test: [CMD, node, /app/services/healthcheck]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- proxy
networks:
proxy:
driver: bridge
external: true