feat(service): add Yamtrack service (#5845)
This commit is contained in:
28
public/svgs/yamtrack.svg
Normal file
28
public/svgs/yamtrack.svg
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
<metadata>
|
||||
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
||||
</metadata>
|
||||
<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M2325 5114 c-16 -2 -68 -9 -115 -15 -248 -32 -535 -120 -768 -234
|
||||
-277 -135 -475 -277 -693 -494 -409 -410 -660 -916 -734 -1484 -20 -155 -20
|
||||
-474 0 -637 72 -579 320 -1087 734 -1500 321 -321 693 -540 1116 -658 260 -73
|
||||
468 -97 770 -89 381 10 695 85 1030 246 439 212 811 544 1070 956 192 305 329
|
||||
695 371 1061 20 167 14 500 -11 664 -83 547 -332 1046 -715 1431 -69 69 -160
|
||||
153 -203 188 -281 226 -644 409 -987 496 -210 54 -320 67 -585 70 -137 2 -263
|
||||
1 -280 -1z m1718 -1178 c87 -42 119 -126 79 -206 -19 -39 -22 -39 -116 -20
|
||||
-110 22 -314 -13 -472 -80 -514 -220 -984 -798 -1213 -1491 -71 -216 -94 -337
|
||||
-110 -580 -14 -206 -26 -219 -209 -219 -75 0 -104 -5 -154 -25 -34 -14 -62
|
||||
-25 -63 -25 -1 0 -10 18 -20 39 l-17 40 42 63 c116 174 214 452 271 773 30
|
||||
170 38 487 15 643 -50 342 -193 587 -386 664 -45 19 -75 23 -170 23 -110 0
|
||||
-118 -1 -181 -33 -72 -35 -180 -138 -234 -224 -17 -27 -32 -48 -35 -48 -3 0
|
||||
-24 18 -45 40 -39 40 -40 43 -39 109 0 57 6 80 33 136 62 125 199 234 350 277
|
||||
89 26 262 27 351 4 328 -88 554 -451 620 -996 6 -52 13 -96 15 -98 2 -2 20 28
|
||||
39 67 46 90 91 162 179 281 307 417 699 747 1026 864 171 61 346 70 444 22z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.6 KiB |
70
templates/compose/yamtrack-with-postgresql.yaml
Normal file
70
templates/compose/yamtrack-with-postgresql.yaml
Normal file
@@ -0,0 +1,70 @@
|
||||
# documentation: https://github.com/FuzzyGrim/Yamtrack/wiki
|
||||
# slogan: Yamtrack is a self hosted media tracker for movies, tv shows, anime, manga, video games and books.
|
||||
# tags: self-hosted, automation, tracker, media, movies, shows, anime, manga, games, books, comics
|
||||
# logo: svgs/yamtrack.svg
|
||||
# port: 8000
|
||||
|
||||
services:
|
||||
yamtrack:
|
||||
image: ghcr.io/fuzzygrim/yamtrack
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
environment:
|
||||
- SERVICE_FQDN_YAMTRACK_8000
|
||||
- TZ=${TZ:-Europe/Berlin}
|
||||
- SECRET=$SERVICE_PASSWORD_SECRET
|
||||
- REGISTRATION=${REGISTRATION_ENABLED:-true}
|
||||
- URLS=$SERVICE_FQDN_YAMTRACK
|
||||
- "REDIS_URL=redis://redis:6379"
|
||||
|
||||
- DB_HOST=db
|
||||
- DB_NAME=${POSTGRESQL_DATABASE:-yamtrack}
|
||||
- DB_USER=${SERVICE_USER_POSTGRESQL}
|
||||
- DB_PASSWORD=${SERVICE_PASSWORD_POSTGRESQL}
|
||||
- DB_PORT=5432
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"--no-verbose",
|
||||
"--tries=1",
|
||||
"--spider",
|
||||
"http://127.0.0.1:8000/health/",
|
||||
]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
container_name: yamtrack-db
|
||||
environment:
|
||||
- POSTGRES_USER=${SERVICE_USER_POSTGRESQL}
|
||||
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRESQL}
|
||||
- POSTGRES_DB=${POSTGRESQL_DATABASE:-yamtrack}
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
|
||||
redis:
|
||||
image: "redis:7-alpine"
|
||||
volumes:
|
||||
- "redis_data:/data"
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- redis-cli
|
||||
- ping
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
|
||||
volumes:
|
||||
redis_data: null
|
||||
postgres_data: null
|
45
templates/compose/yamtrack.yaml
Normal file
45
templates/compose/yamtrack.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
# documentation: https://github.com/FuzzyGrim/Yamtrack/wiki
|
||||
# slogan: Yamtrack is a self hosted media tracker for movies, tv shows, anime, manga, video games and books.
|
||||
# tags: self-hosted, automation, tracker, media, movies, shows, anime, manga, games, books, comics
|
||||
# logo: svgs/yamtrack.svg
|
||||
# port: 8000
|
||||
|
||||
services:
|
||||
yamtrack:
|
||||
image: ghcr.io/fuzzygrim/yamtrack
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- SERVICE_FQDN_YAMTRACK_8000
|
||||
- TZ=${TZ:-Europe/Berlin}
|
||||
- SECRET=$SERVICE_PASSWORD_SECRET
|
||||
- REGISTRATION=${REGISTRATION_ENABLED:-true}
|
||||
- URLS=$SERVICE_FQDN_YAMTRACK
|
||||
- "REDIS_URL=redis://redis:6379"
|
||||
volumes:
|
||||
- "yamtrack_data:/yamtrack/db"
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- "wget --no-verbose --tries=1 --spider http://127.0.0.1:8000/health/ || exit 1"
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
|
||||
redis:
|
||||
image: "redis:7-alpine"
|
||||
volumes:
|
||||
- "redis_data:/data"
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- redis-cli
|
||||
- ping
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
|
||||
volumes:
|
||||
redis_data: null
|
||||
yamtrack_data: null
|
Reference in New Issue
Block a user