From 0556e5b833e12fa1d0a7c5c4379fd30c335ed49e Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Mon, 8 Jul 2024 23:44:40 +0200 Subject: [PATCH] add vouchervault --- README.md | 2 ++ examples/vouchervault/README.md | 3 ++ examples/vouchervault/docker-compose.yml | 42 ++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 examples/vouchervault/README.md create mode 100644 examples/vouchervault/docker-compose.yml diff --git a/README.md b/README.md index d499635..3f22059 100644 --- a/README.md +++ b/README.md @@ -396,6 +396,7 @@ A [wiki](https://en.wikipedia.org/wiki/Wiki) is a publication collaboratively ed - [TRSync](examples/trsync) - Django web frontend for pytr to download all Trade Republic depot data. - [Money-Balancer](examples/money-balancer) - A simple application for managing debt with your friends! - [Firefly III](examples/firefly-iii) - A self-hosted manager for your personal finances. +- [VoucherVault](examples/vouchervault) - Django web application to store and manage vouchers, coupons and gift cards digitally. ### Genealogy @@ -415,6 +416,7 @@ A [wiki](https://en.wikipedia.org/wiki/Wiki) is a publication collaboratively ed - [Domainmod](examples/domainmod) - DomainMOD is an open source application used to manage your domains and other internet assets in a central location. - [Snipe-IT](examples/snipe-it) - Snipe-IT is a free, open source IT asset management system written in PHP. - [Koillection](examples/koillection) - Koillection is a self-hosted service allowing users to manage any kind of collections. +- [VoucherVault](examples/vouchervault) - Django web application to store and manage vouchers, coupons and gift cards digitally. ### Request Bins diff --git a/examples/vouchervault/README.md b/examples/vouchervault/README.md new file mode 100644 index 0000000..1343dea --- /dev/null +++ b/examples/vouchervault/README.md @@ -0,0 +1,3 @@ +# References + +- https://github.com/l4rm4nd/VoucherVault diff --git a/examples/vouchervault/docker-compose.yml b/examples/vouchervault/docker-compose.yml new file mode 100644 index 0000000..cd416a4 --- /dev/null +++ b/examples/vouchervault/docker-compose.yml @@ -0,0 +1,42 @@ +services: + + vouchervault: + image: l4rm4nd/vouchervault:latest + container_name: vouchervault + environment: + - DOMAIN=vouchervault.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 + - REDIS_HOST=redis # the redis host for celery beat notification tasks + - EXPIRY_THRESHOLD_DAYS=90 # send notifications xx days prior expiry; default is 30 + restart: unless-stopped + expose: + - 8000 + ports: + - 8888:8000 + volumes: + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro + - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/vouchervault/database:/opt/app/database + #networks: + # - proxy + #labels: + # - traefik.enable=true + # - traefik.docker.network=proxy + # - traefik.http.routers.vouchervault.rule=Host(`vouchervault.example.com`) + # - traefik.http.services.vouchervault.loadbalancer.server.port=8000 + # # Optional part for traefik middlewares + # - traefik.http.routers.vouchervault.middlewares=local-ipwhitelist@file + + redis: + container_name: vouchervault-redis + image: redis:7.2-alpine + restart: unless-stopped + #networks: + # - proxy + +#networks: +# proxy: +# external: true