revanced-releases-api/deploy/docker-compose.yml
Alexandre Teles 9dbef92fd1
feat: resolves #5, resolves #4 (#7)
* Implements client generation and management

* fix announcements endpoints

* change annoucements model

* bump deps

* sync with main

* refactor: adopt some functional standards in Releases.py

* feat: add new workflows

* chore: remove unused files

* refactor: update build badge

* refactor: move files around and delete unused ones

* feat: add authentication endpoints

* refactor: clean up code on Clients.py controller

* fix: fix the client secret update endpoint

* refactor: clean up authentication code

* feat: add authentication to client endpoints

* chore: bump deps

* feat: add admin user generation
2022-10-08 17:35:54 -03:00

33 lines
813 B
YAML

version: "3.8"
services:
redis:
container_name: revanced-releases-api-redis
image: redis-stack-server:latest
environment:
- REDIS_ARGS=--save 60 1 --appendonly yes
volumes:
- /data/redis/revanced-releases-api:/data
networks:
- infra
restart: always
revanced-releases-api:
container_name: revanced-releases-api
image: ghcr.io/alexandreteles/revanced-releases-api:latest
environment:
- GITHUB_TOKEN=YOUR_GITHUB_TOKEN
- REDIS_URL=revanced-releases-api-redis
- REDIS_PORT=6379
- HYPERCORN_HOST=0.0.0.0
- HYPERCORN_PORT=8000
- HYPERCORN_LOG_LEVEL=debug
- SENTRY_DSN=YOUR_SENTRY_DSN
ports:
- 127.0.0.1:7934:8000
networks:
- infra
restart: unless-stopped
networks:
infra:
external: true