Move portainer config to .env

This commit is contained in:
Jean Froment 2018-06-19 16:02:11 +02:00
parent 5c40d97fbe
commit c608bf5a14
4 changed files with 4 additions and 4 deletions

1
.env.sample Normal file
View File

@ -0,0 +1 @@
PORTAINER_ADMIN_PASSWORD=h4ckMePleAse

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/config
tunnel-options.sh
traefik/.env
.env

View File

@ -6,5 +6,3 @@ MYSQL_ROOT_PASSWORD=h4ckMePleAse
# For Plex Pass download only
PLEX_EMAIL=
PLEX_PASSWORD=
PORTAINER_ADMIN_PASSWORD=h4ckMePleAse

View File

@ -123,8 +123,8 @@ services:
networks:
- web
env_file:
- config
- traefik/traefik.env
- .env
- traefik/.env
command: --admin-password ${PORTAINER_ADMIN_PASSWORD} --host=unix:///var/run/docker.sock
labels:
- 'traefik.backend=portainer'