From afe83c481117d8946bcc126907df9a46c15035f2 Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 25 Nov 2024 16:53:48 +0100 Subject: [PATCH] =?UTF-8?q?use=20defau=C3=B6lt=20traefik=20pw?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + dabo-ansible.yml | 30 +++++------------------------- 2 files changed, 6 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 77ac388..dbe6391 100644 --- a/README.md +++ b/README.md @@ -394,3 +394,4 @@ https://t.me/dabobotcrypto - Emergency stop if balance falls below defined value - Analysis tool for collected historical values to try out buy or sell conditions based on them - Consideration of trading and funding fees +- Liquidation Heatmap (https://www.coinglass.com/pro/futures/LiquidationHeatMap) diff --git a/dabo-ansible.yml b/dabo-ansible.yml index 640a331..e41ccb0 100644 --- a/dabo-ansible.yml +++ b/dabo-ansible.yml @@ -29,25 +29,6 @@ block: | cd /home/docker/dabo.{{inventory_hostname}} - if [ -f env ] - then - . ./env - echo "${WEBPASSWDCRYPT}" - else - webpassword=$(pwgen -s 32 1) - webuser=bot - webpasswordcrypted=$(htpasswd -nb ${webuser} ${webpassword} | sed -e 's/\\$/\\$\\$/g') - - echo "WEBUSER=${webuser} - WEBPASSWD='${webpassword}' - WEBPASSWDCRYPT='${webpasswordcrypted}' - " >env - - chmod 440 env - chown root:docker env - echo "${webpasswordcrypted}" - fi - if ! [ -d home/.ssh ] then mkdir -p home/.ssh @@ -84,10 +65,10 @@ - Restart dabo - - name: Get crypted PW - shell: bash /home/docker/dabo.{{inventory_hostname}}/genpw.sh - register: cryptpw - changed_when: false + #- name: Get crypted PW + # shell: bash /home/docker/dabo.{{inventory_hostname}}/genpw.sh + # register: cryptpw + # changed_when: false - name: /home/docker/dabo.{{inventory_hostname}}/docker-compose.override.yml Container Configuration blockinfile: @@ -118,8 +99,7 @@ # cert via letsencrypt - traefik.http.routers.dabo.tls.certresolver=letsencrypt # activate secHeaders@file - - traefik.http.routers.dabo.middlewares=secHeaders@file,dabo-basicauth - - traefik.http.middlewares.dabo-basicauth.basicauth.users={{ cryptpw.stdout }} + - traefik.http.routers.dabo.middlewares=secHeaders@file,default-basic-auth@file # Traefik network - traefik.docker.network=traefik networks: