mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Use newleaf instead of YouTube API
This commit is contained in:
@@ -10,7 +10,7 @@ services:
|
||||
- ./database-export/:/opt/exports # To make this work, run chmod 777 ./database-exports
|
||||
ports:
|
||||
- 5432:5432
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
redis:
|
||||
container_name: redis
|
||||
image: redis
|
||||
@@ -19,7 +19,15 @@ services:
|
||||
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
|
||||
ports:
|
||||
- 32773:6379
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
newleaf:
|
||||
image: abeltramo/newleaf:latest
|
||||
container_name: newleaf
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3241:3000
|
||||
volumes:
|
||||
- ./newleaf/configuration.py:/workdir/configuration.py
|
||||
|
||||
volumes:
|
||||
database-data:
|
||||
|
||||
17
docker/newleaf/configuration.py
Normal file
17
docker/newleaf/configuration.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# ==============================
|
||||
# You MUST set these settings.
|
||||
# ==============================
|
||||
|
||||
# A URL that this site can be accessed on. Do not include a trailing slash.
|
||||
website_origin = "http://newleaf:3000"
|
||||
|
||||
|
||||
# ==============================
|
||||
# These settings are optional.
|
||||
# ==============================
|
||||
|
||||
# The address of the interface to bind to.
|
||||
#bind_host = "0.0.0.0"
|
||||
|
||||
# The port to bind to.
|
||||
#bind_port = 3000
|
||||
Reference in New Issue
Block a user