mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 13:56:17 +00:00
feat: Setup CI/CD
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
revanced-api:
|
||||
container_name: revanced-api
|
||||
image: ghcr.io/revanced/revanced-api:latest
|
||||
volumes:
|
||||
- /data/revanced-api/persistence:/persistence
|
||||
- /data/revanced-api/configuration.toml:/configuration.toml
|
||||
environment:
|
||||
- CONFIG_FILE_PATH=configuration.toml
|
||||
- GITHUB_TOKEN=
|
||||
- DB_URL=jdbc:h2:./persistence/revanced-api
|
||||
- DB_USER=
|
||||
- DB_PASSWORD=
|
||||
- JWT_SECRET=
|
||||
- JWT_ISSUER=
|
||||
- JWT_VALIDITY_IN_MIN=5
|
||||
- BASIC_USERNAME=
|
||||
- BASIC_PASSWORD=
|
||||
ports:
|
||||
- 127.0.0.1:8080:8000
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user