Added port config via .env

This commit is contained in:
Ash Leece 2021-03-07 03:52:07 +00:00
parent f913ab2a7e
commit 2d29adc279
2 changed files with 2 additions and 1 deletions

1
.env
View File

@ -1 +1,2 @@
DISCORD_WEBHOOK=
PORT=8080

View File

@ -7,5 +7,5 @@ services:
environment:
- DISCORD_WEBHOOK=${DISCORD_WEBHOOK}
ports:
- 8080:8080
- 8080:${PORT}
restart: unless-stopped