You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.0 KiB
Django/Jinja
53 lines
1.0 KiB
Django/Jinja
---
|
|
version: '3.5'
|
|
services:
|
|
{% if template_vars.dashdot %}
|
|
dash-dot:
|
|
container_name: dashdot
|
|
image: mauricenino/dashdot:latest
|
|
restart: unless-stopped
|
|
privileged: true
|
|
ports:
|
|
- '3010:3001'
|
|
volumes:
|
|
- /:/mnt/host:ro
|
|
{% endif %}
|
|
{% if template_vars.dashy %}
|
|
dashy:
|
|
container_name: dashy
|
|
image: lissy93/dashy
|
|
volumes:
|
|
- /etc/config/dashy/dashy-config.yml:/app/public/conf.yml
|
|
|
|
ports:
|
|
- 4000:80
|
|
|
|
environment:
|
|
- NODE_ENV=production
|
|
- UID=1000
|
|
- GID=1000
|
|
|
|
# Specify restart policy
|
|
restart: unless-stopped
|
|
|
|
# Configure healthchecks
|
|
healthcheck:
|
|
test: ['CMD', 'node', '/app/services/healthcheck']
|
|
interval: 1m30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
{% endif %}
|
|
{% if template_vars.glances %}
|
|
glances:
|
|
image: nicolargo/glances:latest-alpine
|
|
restart: unless-stopped
|
|
pid: host
|
|
ports:
|
|
- "8083:61208"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- "GLANCES_OPT=-w"
|
|
{% endif %}
|