39 lines
1.1 KiB
YAML
Executable file
39 lines
1.1 KiB
YAML
Executable file
version: '3.8'
|
|
|
|
services:
|
|
dashy:
|
|
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
|
|
# build: .
|
|
image: lissy93/dashy
|
|
container_name: dashy
|
|
profiles: ["disabled"]
|
|
# Pass in your config file below, by specifying the path on your host machine
|
|
volumes:
|
|
- ${ROOT_INSTALL}/data/dashy/config.yml:/app/public/conf.yml
|
|
# Set any environmental variables
|
|
environment:
|
|
- NODE_ENV=production
|
|
# Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
|
|
# - 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
|
|
networks:
|
|
- wwww-frontend
|
|
expose:
|
|
- 80
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.dashy.rule=Host(`${FQDN_DASHBOARD}`)
|
|
- traefik.http.routers.dashy.entrypoints=https
|
|
- traefik.http.routers.dashy.tls=true
|
|
- traefik.docker.network=wwww-frontend
|
|
|
|
|