mirror of
https://codeberg.org/ashley/poke.git
synced 2025-06-09 09:53:01 -04:00
dockerize the whole thing
This commit is contained in:
parent
7d2776584b
commit
74c7e7d051
11 changed files with 199 additions and 43 deletions
1
docker/.gitignore
vendored
Normal file
1
docker/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/data
|
23
docker/Caddyfile
Normal file
23
docker/Caddyfile
Normal file
|
@ -0,0 +1,23 @@
|
|||
# You may want to remove the http:// part for automatic HTTPS
|
||||
# This is needed here because we're testing locally
|
||||
|
||||
http://poketube.test {
|
||||
reverse_proxy poketube:6003
|
||||
}
|
||||
|
||||
http://image-proxy.poketube.test {
|
||||
reverse_proxy january:7000
|
||||
}
|
||||
|
||||
http://eu-proxy.poketube.test {
|
||||
@invidious {
|
||||
path /videoplayback*
|
||||
path /latest_version*
|
||||
}
|
||||
|
||||
reverse_proxy @invidious invidious:3000
|
||||
}
|
||||
|
||||
http://p.poketube.test {
|
||||
reverse_proxy pproxy:6014
|
||||
}
|
8
docker/invidious.yaml
Normal file
8
docker/invidious.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
db:
|
||||
dbname: invidious
|
||||
user: postgres
|
||||
password: postgres
|
||||
host: postgres
|
||||
port: 5432
|
||||
check_tables: true
|
||||
hmac_key: ujZnZzcMoxg2pEjdV52c
|
8
docker/lighttube.yaml
Normal file
8
docker/lighttube.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
Interface:
|
||||
MessageOfTheDay: meow
|
||||
Credentials:
|
||||
UseCredentials: false
|
||||
Sapisid:
|
||||
Psid:
|
||||
Database:
|
||||
MongoConnectionString: mongodb://lighttube:lighttube@mongo:27017/
|
2
docker/mongo.env
Normal file
2
docker/mongo.env
Normal file
|
@ -0,0 +1,2 @@
|
|||
MONGO_INITDB_ROOT_USERNAME=lighttube
|
||||
MONGO_INITDB_ROOT_PASSWORD=lighttube
|
3
docker/postgres.env
Normal file
3
docker/postgres.env
Normal file
|
@ -0,0 +1,3 @@
|
|||
POSTGRES_DB=invidious
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
32
docker/pproxy.json
Normal file
32
docker/pproxy.json
Normal file
|
@ -0,0 +1,32 @@
|
|||
[
|
||||
"i.ytimg.com",
|
||||
"yt3.googleusercontent.com",
|
||||
"cdn.glitch.global",
|
||||
"cdn.statically.io",
|
||||
"site-assets.fontawesome.com",
|
||||
"fonts.gstatic.com",
|
||||
"cdn.jsdelivr.net",
|
||||
"yt3.ggpht.com",
|
||||
"tube.kuylar.dev",
|
||||
"lh3.googleusercontent.com",
|
||||
"is4-ssl.mzstatic.com",
|
||||
"is2-ssl.mzstatic.com",
|
||||
"is1-ssl.mzstatic.com",
|
||||
"fonts.bunny.net",
|
||||
"demo.matomo.org",
|
||||
"is5-ssl.mzstatic.com",
|
||||
"is3-ssl.mzstatic.com",
|
||||
"twemoji.maxcdn.com",
|
||||
"unpkg.com",
|
||||
"lite.duckduckgo.com",
|
||||
"youtube.com",
|
||||
"returnyoutubedislikeapi.com",
|
||||
"cdn.zptr.cc",
|
||||
"inv.vern.cc",
|
||||
"invidious.privacydev.net",
|
||||
"inv.zzls.xyz",
|
||||
"vid.puffyan.us",
|
||||
"invidious.lidarshield.cloud",
|
||||
"invidious.epicsite.xyz",
|
||||
"invidious.esmailelbob.xyz"
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue