mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-24 04:21:14 +00:00
8b585c50a1
add port definition
24 lines
604 B
YAML
24 lines
604 B
YAML
---
|
|
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
|
|
environment:
|
|
- NODE_ENV=production
|
|
- UID=1000
|
|
- GID=1000
|
|
restart: unless-stopped
|
|
ports:
|
|
- 4000:80
|
|
healthcheck:
|
|
test: ['CMD', 'node', '/app/services/healthcheck']
|
|
interval: 1m30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|