Fixed --admin-password parameter

master
Meliurwen 4 years ago
parent 7819664d99
commit 322255bed7
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 2
      .env.example
  2. 2
      docker-compose.yml

@ -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=

@ -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:

Loading…
Cancel
Save