summaryrefslogtreecommitdiff
path: root/compose.yml
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-11 13:19:37 -0500
committerChristian Cleberg <[email protected]>2026-04-11 13:19:37 -0500
commit965c060dca284edb285cbb4e7ecd2e251fa39fc0 (patch)
tree92b801eb2e81ddafc141fd36fd8f4fa2ff156f33 /compose.yml
parentbdbc11e8609b2a40d25b08b5baef17ce7201df77 (diff)
downloadhutch-stats-965c060dca284edb285cbb4e7ecd2e251fa39fc0.tar.gz
hutch-stats-965c060dca284edb285cbb4e7ecd2e251fa39fc0.tar.bz2
hutch-stats-965c060dca284edb285cbb4e7ecd2e251fa39fc0.zip
chore: harden repo defaults for secrets, deployment, and logging
Diffstat (limited to 'compose.yml')
-rw-r--r--compose.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/compose.yml b/compose.yml
index 90d10e9..3ec0560 100644
--- a/compose.yml
+++ b/compose.yml
@@ -2,12 +2,12 @@ services:
hutch-stats:
build:
context: .
- container_name: hutch-stats
+ container_name: ${COMPOSE_PROJECT_NAME:-hutch-stats}
ports:
- - "8000:8000"
+ - "${HOST_PORT:-8000}:8000"
environment:
API_KEY: ${API_KEY}
- ENABLE_SCHEDULER: "true"
+ ENABLE_SCHEDULER: ${ENABLE_SCHEDULER:-false}
SRHT_TOKEN: ${SRHT_TOKEN}
TODO_SRHT_ENDPOINT: ${TODO_SRHT_ENDPOINT:-https://todo.sr.ht/query}
GIT_SRHT_ENDPOINT: ${GIT_SRHT_ENDPOINT:-https://git.sr.ht/query}