-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 865 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (31 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: "3.9"
services:
authtranslator:
image: ghcr.io/winhowes/authtranslator:latest
container_name: authtranslator
ports:
- "8080:8080" # → host http://localhost:8080
environment:
# Secret URIs resolve env: …
SLACK_TOKEN: "xoxb-REPLACE"
# Optional: enable Redis-backed rate limits
volumes:
- ./conf:/conf:ro # bind-mount configs for hot reload
command: |
-config /conf/config.yaml \
-allowlist /conf/allowlist.yaml \
-denylist /conf/denylist.yaml \
-redis-addr redis://redis:6379/0 \
-watch # reload on file change
depends_on:
- redis
redis:
image: redis:7-alpine
container_name: redis
restart: unless-stopped
expose:
- "6379"
volumes:
- redis-data:/data
volumes:
redis-data: