Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
l4rm4nd authored Jul 8, 2024
1 parent 82e1296 commit b28837f
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ services:
container_name: voucheme
hostname: voucheme
environment:
- DOMAIN=voucher.example.com
- SECRET_KEY=ChooseSuperSecretKey
- DOMAIN=voucher.example.com # your FQDN if a reverse proxy is used
- SECRET_KEY=ChooseSuperSecretKey # please define a strong secret
# see https://github.com/caronc/apprise
# takes one or multiple comma-separated apprise urls for notifications
- APPRISE_URLS=tgram://bottoken1/ChatID1,tgram://bottoken2/ChatID2
- APPRISE_URLS=tgram://bottoken1/ChatID1,tgram://bottoken2/ChatID2
- REDIS_HOST=redis # the redis host for celery beat notification tasks
- EXPIRY_THRESHOLD_DAYS=30 # send notifications xx days prior expiry
restart: unless-stopped
expose:
- 8000
Expand All @@ -32,6 +34,13 @@ services:
# # Optional part for traefik middlewares
# - traefik.http.routers.voucheme.middlewares=local-ipwhitelist@file

redis:
container_name: voucheme-redis
image: redis:7.2-alpine
restart: unless-stopped
#networks:
# - proxy

#networks:
# proxy:
# external: true

0 comments on commit b28837f

Please sign in to comment.