diff --git a/.env b/.env index 5897842..3f8ea43 100644 --- a/.env +++ b/.env @@ -8,7 +8,4 @@ KEYCLOAK_HOST_IP=172.16.32.134 KEYCLOAK_HOST=connect # Portainer -PORTAINER_HOST=portainer -# Pour mettre a jour, encrypter le mot de passe avec la commande suivante: -# htpasswd -nb -B admin "mot_de_passe" | cut -d ":" -f 2 -PORTAINER_PASSWORD=$2y$05$gMMx0FiBvYmTo68jzlD0TekI2rhQgv4O7P6XwTWNFGojyC02I4RoC \ No newline at end of file +PORTAINER_HOST=portainer \ No newline at end of file diff --git a/compose.yml b/compose.yml index 38a40f5..a9a3171 100644 --- a/compose.yml +++ b/compose.yml @@ -31,7 +31,7 @@ services: - "traefik.enable=true" - "traefik.http.routers.neah-portainer.rule=Host(`${PORTAINER_HOST}.${MAIN_DOMAIN}`)" - "traefik.http.services.neah-portainer.loadbalancer.server.port=9000" - command: --admin-password='${PORTAINER_PASSWORD}' + command: --admin-password-file '/tmp/portpa' networks: - default