Skip to content

Commit

Permalink
Add dynamic compose for ryot (#6101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancelot-Enguerrand authored Dec 23, 2024
1 parent e846ba9 commit eea1f7e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/ryot/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"port": 8206,
"available": true,
"exposable": true,
"dynamic_config": true,
"id": "ryot",
"tipi_version": 25,
"tipi_version": 26,
"version": "2.24.2",
"categories": ["media"],
"description": "Roll your own tracker!",
Expand Down Expand Up @@ -44,5 +45,5 @@
],
"supported_architectures": ["arm64", "amd64"],
"created_at": 1691943801422,
"updated_at": 1723566284000
"updated_at": 1734908651396
}
33 changes: 33 additions & 0 deletions apps/ryot/docker-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"services": [
{
"name": "ryot",
"image": "ghcr.io/ignisda/ryot:v2.24.2",
"isMain": true,
"internalPort": 8000,
"environment": {
"DATABASE_URL": "postgres://tipi:${RYOT_DB_PASSWORD}@ryot-db:5432/ryot",
"SERVER_INSECURE_COOKIE": "true",
"USERS_ALLOW_REGISTRATION": "${RYOT_ALLOW_REGISTRATION}",
"VIDEO_GAMES_TWITCH_CLIENT_ID": "${RYOT_VIDEO_GAMES_TWITCH_CLIENT_ID}",
"VIDEO_GAMES_TWITCH_CLIENT_SECRET": " ${VIDEO_GAMES_TWITCH_CLIENT_SECRET}"
},
"dependsOn": ["ryot-db"]
},
{
"name": "ryot-db",
"image": "postgres:15-alpine",
"environment": {
"POSTGRES_USER": "tipi",
"POSTGRES_PASSWORD": "${RYOT_DB_PASSWORD}",
"POSTGRES_DB": "ryot"
},
"volumes": [
{
"hostPath": "${APP_DATA_DIR}/data/postgres",
"containerPath": "/var/lib/postgresql/data"
}
]
}
]
}

0 comments on commit eea1f7e

Please sign in to comment.