Skip to content

Commit

Permalink
Fix local config files
Browse files Browse the repository at this point in the history
  • Loading branch information
anbsky committed Nov 14, 2024
1 parent d10616d commit 5389a0a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
5 changes: 3 additions & 2 deletions docker-compose.app.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.2"

services:
oapi:
image: odyseeteam/odysee-api:latest
Expand All @@ -15,3 +13,6 @@ services:
- postgres
labels:
com.centurylinklabs.watchtower.enable: true

volumes:
storage: {}
16 changes: 11 additions & 5 deletions docker/oapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ StreamsV6:
InternalAPIHost: https://api.lbry.com
ProjectURL: https://lbry.tv

DatabaseDSN: postgres://lbrytv:lbrytv@postgres
DatabaseDSN: postgres://postgres:odyseeteam@postgres
Database:
DBName: lbrytv
DBName: postgres
Options: sslmode=disable

OAuth:
Expand Down Expand Up @@ -56,12 +56,18 @@ RPCTimeouts:
transaction_list: 4m
publish: 4m

RedisLocker: redis://:odyredis@localhost:6379/1
RedisBus: redis://:odyredis@localhost:6379/2
RedisLocker: redis://:odyredis@redis:6379/1
RedisBus: redis://:odyredis@redis:6379/2

# AsynqueryRequestsConnURL is Redis database where asynquery will be listening for finalized uploads requests.
# This corresponds to AsynqueryRequestsConnURL in forklift.yml config.
AsynqueryRequestsConnURL: redis://:odyredis@localhost:6379/3
AsynqueryRequestsConnURL: redis://:odyredis@redis:6379/3

SturdyCache:
Master: redis:6379
Replicas:
- redis:6379
Password: odyredis

ReflectorUpstream:
DatabaseDSN: 'user:password@tcp(localhost:3306)/blobs'
Expand Down

0 comments on commit 5389a0a

Please sign in to comment.