Automatically set portainer password

This commit is contained in:
Colin Hebert
2022-12-26 08:58:35 +01:00
parent c25e970080
commit 42eef39019
3 changed files with 3 additions and 1 deletions

View File

@@ -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
View File

@@ -0,0 +1 @@
./portainer_password

View File

@@ -0,0 +1 @@
admin