Compose-Examples/examples/dashy/docker-compose.yml

24 lines
604 B
YAML
Raw Normal View History

2023-02-15 21:45:31 +00:00
---
version: "3.8"
services:
dashy:
container_name: dashy
hostname: dashy
image: lissy93/dashy
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/dashy/config/config.yml:/app/public/conf.yml
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/dashy/icons:/app/public/item-icons
2023-02-15 21:45:31 +00:00
environment:
- NODE_ENV=production
- UID=1000
- GID=1000
restart: unless-stopped
ports:
- 4000:80
2023-02-15 21:45:31 +00:00
healthcheck:
test: ['CMD', 'node', '/app/services/healthcheck']
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s