From c608bf5a14b10159e033d3bee8975853edb8ded4 Mon Sep 17 00:00:00 2001 From: Jean Froment Date: Tue, 19 Jun 2018 16:02:11 +0200 Subject: [PATCH] Move portainer config to .env --- .env.sample | 1 + .gitignore | 1 + config.default | 2 -- docker-compose.yml | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 .env.sample diff --git a/.env.sample b/.env.sample new file mode 100644 index 0000000..9f479d8 --- /dev/null +++ b/.env.sample @@ -0,0 +1 @@ +PORTAINER_ADMIN_PASSWORD=h4ckMePleAse \ No newline at end of file diff --git a/.gitignore b/.gitignore index 22d62b7..894ad30 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /config tunnel-options.sh traefik/.env +.env diff --git a/config.default b/config.default index f789922..dd48519 100644 --- a/config.default +++ b/config.default @@ -6,5 +6,3 @@ MYSQL_ROOT_PASSWORD=h4ckMePleAse # For Plex Pass download only PLEX_EMAIL= PLEX_PASSWORD= - -PORTAINER_ADMIN_PASSWORD=h4ckMePleAse \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 1b2bca3..6d90b15 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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'