diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..9b9ed2d --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +ADMIN_TOKEN= diff --git a/.gitignore b/.gitignore index eadd99f..057f8d5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ tmp/ data/ dmrmap compose.override.yml +.env diff --git a/compose.yml b/compose.yml index 8c0fe99..a274412 100644 --- a/compose.yml +++ b/compose.yml @@ -19,6 +19,7 @@ services: - BMRPTRS_PATH=/app/bmrptrs.json - LISTEN_ADDR=:8080 - BM_SYNC=true + - ADMIN_TOKEN=${ADMIN_TOKEN:-} restart: unless-stopped volumes: