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: