Automatically set portainer password
This commit is contained in:
@@ -31,7 +31,7 @@ services:
|
||||
|
||||
portainer:
|
||||
image: portainer/portainer-ce
|
||||
command: --host tcp://docker:2375 --hide-label nas-compose.boostrap --admin-password-file
|
||||
command: --host tcp://docker:2375 --hide-label nas-compose.boostrap --admin-password-file /data/portainer_password
|
||||
networks:
|
||||
- docker
|
||||
- traefik
|
||||
|
||||
1
volumes/portainer/.gitignore
vendored
Normal file
1
volumes/portainer/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
./portainer_password
|
||||
1
volumes/portainer/portainer_password
Normal file
1
volumes/portainer/portainer_password
Normal file
@@ -0,0 +1 @@
|
||||
admin
|
||||
Reference in New Issue
Block a user