-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from dreulavelle/main
Comet Restructure/Refactor
- Loading branch information
Showing
23 changed files
with
3,982 additions
and
3,512 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
.github/ | ||
.env* | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
.github/ | ||
*.env* | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
*.md | ||
docker-compose*.* | ||
.vscode/ | ||
config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FASTAPI_HOST=0.0.0.0 | ||
FASTAPI_PORT=8000 | ||
FASTAPI_WORKERS=1 # remove to destroy CPU -> max performances | ||
DATABASE_PATH=customFolder/database.db # REMOVE IF YOU DON'T KNOW WHAT THIS IS - folders in path must exist | ||
CACHE_TTL=86400 | ||
DEBRID_PROXY_URL=http://127.0.0.1:1080 | ||
INDEXER_MANAGER_TYPE=jackett # or prowlarr | ||
INDEXER_MANAGER_URL=http://127.0.0.1:9117 | ||
INDEXER_MANAGER_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | ||
INDEXER_MANAGER_INDEXERS=INDEXER_NAME_CHANGETHIS1,INDEXER_NAME_CHANGETHIS2 | ||
INDEXER_MANAGER_TIMEOUT=30 | ||
GET_TORRENT_TIMEOUT=5 | ||
CUSTOM_HEADER_HTML= | ||
FASTAPI_HOST=0.0.0.0 | ||
FASTAPI_PORT=8000 | ||
FASTAPI_WORKERS=1 # remove to destroy CPU -> max performances | ||
DATABASE_PATH=customFolder/database.db # REMOVE IF YOU DON'T KNOW WHAT THIS IS - folders in path must exist | ||
CACHE_TTL=86400 | ||
DEBRID_PROXY_URL=http://127.0.0.1:1080 | ||
INDEXER_MANAGER_TYPE=jackett # or prowlarr | ||
INDEXER_MANAGER_URL=http://127.0.0.1:9117 | ||
INDEXER_MANAGER_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | ||
INDEXER_MANAGER_INDEXERS=INDEXER_NAME_CHANGETHIS1,INDEXER_NAME_CHANGETHIS2 | ||
INDEXER_MANAGER_TIMEOUT=30 | ||
GET_TORRENT_TIMEOUT=5 | ||
CUSTOM_HEADER_HTML= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,56 @@ | ||
name: Docker Build and Push | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# release: | ||
# types: [created] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
security-events: write | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Docker Setup QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
id: qemu | ||
with: | ||
platforms: amd64,arm64 | ||
|
||
- name: Log into ghcr.io registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Log in to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
|
||
- name: Build and push Docker image | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
file: ./Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
tags: | | ||
ghcr.io/g0ldyy/comet:latest | ||
docker.io/g0ldyy/comet:latest | ||
name: Docker Build and Push | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# release: | ||
# types: [created] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
security-events: write | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Docker Setup QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
id: qemu | ||
with: | ||
platforms: amd64,arm64 | ||
|
||
- name: Log into ghcr.io registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Log in to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
|
||
- name: Build and push Docker image | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
file: ./Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
tags: | | ||
ghcr.io/g0ldyy/comet:latest | ||
docker.io/g0ldyy/comet:latest |
Oops, something went wrong.