2021-06-05 13:48:42 +02:00
|
|
|
---
|
2021-06-10 20:46:46 +02:00
|
|
|
# Welcome to Dashy! To get started, run `docker compose up`
|
|
|
|
version: "3.8"
|
2021-06-05 13:48:42 +02:00
|
|
|
services:
|
|
|
|
dashy:
|
2021-06-10 20:46:46 +02:00
|
|
|
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
|
|
|
|
# build: .
|
2021-06-05 13:48:42 +02:00
|
|
|
image: lissy93/dashy
|
2021-06-10 20:46:46 +02:00
|
|
|
container_name: Dashy
|
|
|
|
# Pass in your config file below, by specifying the path on your host machine
|
|
|
|
# volumes:
|
|
|
|
# - /root/my-config.yml:/app/public/conf.yml
|
2021-06-05 13:48:42 +02:00
|
|
|
ports:
|
2021-06-10 20:46:46 +02:00
|
|
|
- 4000:80
|
|
|
|
# Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
|
|
|
|
# environment:
|
|
|
|
# - UID=1000
|
|
|
|
# - GID=1000
|
|
|
|
restart: unless-stopped
|
|
|
|
healthcheck:
|
2021-06-14 21:46:59 +02:00
|
|
|
test: ['CMD', 'node', '/app/services/healthcheck']
|
2021-06-10 20:46:46 +02:00
|
|
|
interval: 1m30s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 3
|
|
|
|
start_period: 40s
|