initial commit
This commit is contained in:
8
dashy/.env.example
Normal file
8
dashy/.env.example
Normal file
@@ -0,0 +1,8 @@
|
||||
# DOMAIN_ROOT is the root domain that this service will register as with Traefik
|
||||
DOMAIN_ROOT=domain.tld
|
||||
|
||||
# USER_ID is the user id to run the service as. 0 for root
|
||||
USER_ID=1000
|
||||
|
||||
# GROUP_ID is the group id to run the service as. 0 for root
|
||||
GROUP_ID=1000
|
0
dashy/dashy.yml.example
Normal file
0
dashy/dashy.yml.example
Normal file
37
dashy/docker-compose.yml
Normal file
37
dashy/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
dashy:
|
||||
image: lissy93/dashy:latest
|
||||
container_name: dashy
|
||||
restart: unless-stopped
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- 'traefik.http.routers.dashy.rule=Host(`dashy.${DOMAIN_ROOT}`) || Host(`dash.${DOMAIN_ROOT}`) || Host(`${DOMAIN_ROOT}`)'
|
||||
- "traefik.http.services.dashy.loadbalancer.server.port=80"
|
||||
- 'traefik.http.routers.dashy.middlewares=authelia@docker'
|
||||
|
||||
volumes:
|
||||
- ./dashy.yml:/app/public/conf.yml
|
||||
|
||||
networks:
|
||||
- home-proxy
|
||||
|
||||
environment:
|
||||
- DOMAIN_ROOT=${DOMAIN_ROOT}
|
||||
- NODE_ENV=production
|
||||
- UID=${USER_ID}
|
||||
- GID=${GROUP_ID}
|
||||
|
||||
# Configure healthchecks
|
||||
healthcheck:
|
||||
test: ['CMD', 'node', '/app/services/healthcheck']
|
||||
interval: 1m30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
|
||||
networks:
|
||||
home-proxy:
|
||||
external: true
|
Reference in New Issue
Block a user