Add admin token env var to compose
This commit is contained in:
parent
c10615a164
commit
985c79e2b9
3 changed files with 3 additions and 0 deletions
1
.env.example
Normal file
1
.env.example
Normal file
|
|
@ -0,0 +1 @@
|
|||
ADMIN_TOKEN=
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@ tmp/
|
|||
data/
|
||||
dmrmap
|
||||
compose.override.yml
|
||||
.env
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ services:
|
|||
- BMRPTRS_PATH=/app/bmrptrs.json
|
||||
- LISTEN_ADDR=:8080
|
||||
- BM_SYNC=true
|
||||
- ADMIN_TOKEN=${ADMIN_TOKEN:-}
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Reference in a new issue