From 1a3a900efab933f3c5ebce92353da936713d754d Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Sun, 27 Feb 2022 19:06:06 +0100 Subject: [PATCH] add dashy --- .env.default | 1 + www/docker-compose.www.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/.env.default b/.env.default index 46ab476..d1c41ab 100644 --- a/.env.default +++ b/.env.default @@ -19,6 +19,7 @@ HOST_SELFOSS=selfoss HOST_SHAARLI=shaarli HOST_WALLABAG=wallabag HOST_WWW=www +HOST_DASHY=dashy.traefik.me PATH_PORTAINER=/portainer PATH_GLANCES=/glances PATH_DELUGE=/deluge diff --git a/www/docker-compose.www.yml b/www/docker-compose.www.yml index 3b5573e..808c17b 100755 --- a/www/docker-compose.www.yml +++ b/www/docker-compose.www.yml @@ -1,6 +1,39 @@ version: '3' services: + dashy: + # To build from source, replace 'image: lissy93/dashy' with 'build: .' + # build: . + image: lissy93/dashy + container_name: dashy + # 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(`${HOST_DASHY}`) + - traefik.http.routers.dashy.entrypoints=https + - traefik.http.routers.dashy.tls=true + - traefik.docker.network=wwww-frontend www: container_name: www image: kianby/www-madyanne