mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 00:34:41 -05:00
revert original config file and update explanation
This commit is contained in:
parent
74c7e7d051
commit
16f79f9ff2
3 changed files with 42 additions and 12 deletions
12
config.json
12
config.json
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"tubeApi": "http://lighttube:80/api",
|
||||
"invapi": "http://invidious:3000/api/v1",
|
||||
"tubeApi": "https://inner-api.poketube.fun/api/",
|
||||
"invapi": "https://invid-api.poketube.fun/api/v1",
|
||||
"dislikes": "https://returnyoutubedislikeapi.com/votes?videoId=",
|
||||
"invchannel": "http://invidious:3000/api/v1",
|
||||
"p_url": "http://p.poketube.test",
|
||||
"media_proxy": "http://image-proxy.poketube.test",
|
||||
"videourl": "http://eu-proxy.poketube.test",
|
||||
"invchannel": "https://invid-api.poketube.fun/api/v1",
|
||||
"p_url": "https://p.poketube.fun",
|
||||
"media_proxy": "https://image-proxy.poketube.fun",
|
||||
"videourl": "https://eu-proxy.poketube.fun",
|
||||
"email_main_url": "https://email-server.poketube.fun",
|
||||
"mastodon_client_url": "https://fediverse.poketube.fun",
|
||||
"libreoffice_online_url": "https://office.poketube.fun",
|
||||
|
|
|
@ -2,10 +2,23 @@
|
|||
|
||||
# 1. Verify you have docker and docker-compose
|
||||
# 2. Make sure this repository is cloned recursively (check if the `pokevidious` folder has stuff in it)
|
||||
# 3. Adjust domains in `docker/Caddyfile` and `config.json`
|
||||
# DO NOT touch tubeApi, invapi, invchannel, videourl in `config.json` unless you know what you are doing
|
||||
# 4. Optionally replace `build` with `image` in some services to save time on building
|
||||
# 5. Run `docker-compose up -d` or `docker compose up -d` (notice the dash)
|
||||
# 3. Optionally replace `build` with `image` in some services to save time on building
|
||||
# 4. Proceed either to Section A or Section B
|
||||
|
||||
# Section A : Local development
|
||||
# 1. Add this to your hosts file /etc/hosts (Linux) or C:\Windows\System32\drivers\etc\hosts (Windows)
|
||||
#
|
||||
# 127.0.0.1 poketube.test image-proxy.poketube.test eu-proxy.poketube.test p.poketube.test
|
||||
#
|
||||
# 2. Run `docker-compose up -d` or `docker compose up -d` (notice the dash)
|
||||
# 3. Visit `http://poketube.test` in your browser
|
||||
|
||||
# Section B : Production
|
||||
# 3. Adjust domains in `docker/Caddyfile` and `docker/config.json`
|
||||
# 3.1 DO NOT touch tubeApi, invapi, invchannel, videourl in `docker/config.json` unless you know what you are doing
|
||||
# 3.2 As for the others, make sure they're all https in both files
|
||||
# 4. Run `docker-compose up -d` or `docker compose up -d` (notice the dash)
|
||||
# 5. Visit your domain in your browser
|
||||
|
||||
services:
|
||||
poketube: # port 6003
|
||||
|
@ -19,7 +32,7 @@ services:
|
|||
- january
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config.json:/poketube/config.json:ro
|
||||
- ./docker/poke.json:/poketube/config.json:ro
|
||||
|
||||
# lighttube - tubeApi
|
||||
lighttube: # port 80
|
||||
|
|
17
docker/poke.json
Normal file
17
docker/poke.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"tubeApi": "http://lighttube:80/api",
|
||||
"invapi": "http://invidious:3000/api/v1",
|
||||
"dislikes": "https://returnyoutubedislikeapi.com/votes?videoId=",
|
||||
"invchannel": "http://invidious:3000/api/v1",
|
||||
"p_url": "http://p.poketube.test",
|
||||
"media_proxy": "http://image-proxy.poketube.test",
|
||||
"videourl": "http://eu-proxy.poketube.test",
|
||||
"email_main_url": "https://email-server.poketube.fun",
|
||||
"mastodon_client_url": "https://fediverse.poketube.fun",
|
||||
"libreoffice_online_url": "https://office.poketube.fun",
|
||||
"cacher_max_age": "864000",
|
||||
"enablealwayshttps": false,
|
||||
"proxylocation": "USA",
|
||||
"t_url": "https://t.poketube.fun/",
|
||||
"server_port": "6003"
|
||||
}
|
Loading…
Reference in a new issue