From 322255bed70f902b436e38e1351a5e7f9df14ae7 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Fri, 21 Aug 2020 21:51:16 +0200 Subject: [PATCH] Fixed --admin-password parameter --- .env.example | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index fc7bdc5..24e8d0d 100644 --- a/.env.example +++ b/.env.example @@ -5,7 +5,7 @@ LOCAL_STACK_DIR=/srv/docker/volumes/portainer NETWORK=webservices # portainer -# Generate with the command: htpasswd -nb -B admin asd | cut -d ":" - +# Generate with the command: htpasswd -nb -B admin asd | cut -d ':' -f 2 # On Debian the tool is part of the `apache2-utils` package PORT_ENCRYPTED_PWD= diff --git a/docker-compose.yml b/docker-compose.yml index 6f3986e..1e50801 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock env_file: - portainer.env - command: --no-analytics --admin-password ${PORT_ENCRYPTED_PWD} + command: --no-analytics --admin-password="${PORT_ENCRYPTED_PWD}" networks: default: