Merge pull request 'My instance is up.' (#47) from unstablemaple/safetwitch:master into master
Reviewed-on: https://codeberg.org/dragongoose/safetwitch/pulls/47
This commit is contained in:
commit
fb42aa24ba
@ -55,6 +55,7 @@ Heres some other notable twitch projects
|
|||||||
- [Streamlink Twitch Gui](https://streamlink.github.io/streamlink-twitch-gui/), A multi platform Twitch.tv browser for Streamlink
|
- [Streamlink Twitch Gui](https://streamlink.github.io/streamlink-twitch-gui/), A multi platform Twitch.tv browser for Streamlink
|
||||||
- [Twineo](https://codeberg.org/CloudyyUw/twineo), A alternative twitch frontend
|
- [Twineo](https://codeberg.org/CloudyyUw/twineo), A alternative twitch frontend
|
||||||
|
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
| Images | More Images |
|
| Images | More Images |
|
||||||
|------------------------------------------------------|---|
|
|------------------------------------------------------|---|
|
||||||
@ -62,6 +63,7 @@ Heres some other notable twitch projects
|
|||||||
| ![ Photo of category ]( images/category.png "title" ) | ![ Photo of streamer ]( images/streamer.png "title" ) |
|
| ![ Photo of category ]( images/category.png "title" ) | ![ Photo of streamer ]( images/streamer.png "title" ) |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Donations
|
# Donations
|
||||||
|
|
||||||
Donations towards development are not accepted. I really thank you for feeling the need to donate, it does mean a lot to me!
|
Donations towards development are not accepted. I really thank you for feeling the need to donate, it does mean a lot to me!
|
||||||
@ -98,7 +100,7 @@ If you host a SafeTwitch instance and would like it to be listed in the readme,
|
|||||||
| [ttv.vern.cc](https://ttv.vern.cc) | 🇺🇸 | #12 | ❌ |
|
| [ttv.vern.cc](https://ttv.vern.cc) | 🇺🇸 | #12 | ❌ |
|
||||||
| [safetwitch.frontendfriendly.xyz](https://safetwitch.frontendfriendly.xyz/) | 🇺🇸 | #16 | ❌ |
|
| [safetwitch.frontendfriendly.xyz](https://safetwitch.frontendfriendly.xyz/) | 🇺🇸 | #16 | ❌ |
|
||||||
| [ttv.femboy.band](https://ttv.femboy.band) | 🇺🇸 | #29 | ✅ |
|
| [ttv.femboy.band](https://ttv.femboy.band) | 🇺🇸 | #29 | ✅ |
|
||||||
|
| [twitch.seitan-ayoub.lol](https://twitch.seitan-ayoub.lol) | 🇩🇪 | Hetnzer VPS| ❌|
|
||||||
### Onion
|
### Onion
|
||||||
| URL | Country | Info |
|
| URL | Country | Info |
|
||||||
|---------------------------|---------|---------|
|
|---------------------------|---------|---------|
|
||||||
|
@ -13,15 +13,18 @@ services:
|
|||||||
- SETGID
|
- SETGID
|
||||||
- SETUID
|
- SETUID
|
||||||
restart: always
|
restart: always
|
||||||
|
#image: safetwitch:arm64
|
||||||
image: codeberg.org/dragongoose/safetwitch:latest
|
image: codeberg.org/dragongoose/safetwitch:latest
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8280:80"
|
- "127.0.0.1:8280:80"
|
||||||
environment:
|
environment:
|
||||||
- SAFETWITCH_BACKEND_DOMAIN=changethis
|
- SAFETWITCH_BACKEND_DOMAIN=changeme
|
||||||
- SAFETWITCH_INSTANCE_DOMAIN=changethis
|
- SAFETWITCH_INSTANCE_DOMAIN=changeme
|
||||||
- SAFETWITCH_HTTPS=true
|
- SAFETWITCH_HTTPS=true
|
||||||
- SAFETWITCH_DEFAULT_LOCALE=en
|
- SAFETWITCH_DEFAULT_LOCALE=en
|
||||||
- SAFETWITCH_FALLBACK_LOCALE=en
|
- SAFETWITCH_FALLBACK_LOCALE=en
|
||||||
|
# networks:
|
||||||
|
#- nginx_network
|
||||||
|
|
||||||
safetwitch-backend:
|
safetwitch-backend:
|
||||||
container_name: safetwitch-backend
|
container_name: safetwitch-backend
|
||||||
@ -33,9 +36,15 @@ services:
|
|||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
restart: always
|
restart: always
|
||||||
|
#image: safetwitch-backend:arm64
|
||||||
image: codeberg.org/dragongoose/safetwitch-backend:latest
|
image: codeberg.org/dragongoose/safetwitch-backend:latest
|
||||||
|
#networks:
|
||||||
|
#- nginx_network
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:7100:7000"
|
- "127.0.0.1:7100:7000"
|
||||||
environment:
|
environment:
|
||||||
- PORT=7000
|
- PORT=7000
|
||||||
- URL=https://changethis
|
- URL=changeme
|
||||||
|
#networks:
|
||||||
|
# nginx_network:
|
||||||
|
#external: true #use if you run nginx in a docker container, make sure nginx is in the same network
|
||||||
|
BIN
safetwitch-arm64.tar
Normal file
BIN
safetwitch-arm64.tar
Normal file
Binary file not shown.
BIN
safetwitch-backend-arm64.tar
Normal file
BIN
safetwitch-backend-arm64.tar
Normal file
Binary file not shown.
26
seitan-nginx-twitchapi.conf
Normal file
26
seitan-nginx-twitchapi.conf
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
|
||||||
|
|
||||||
|
server_name twitch-api.seitan-ayoub.lol;
|
||||||
|
ssl_certificate /etc/nginx/certs/_.seitan-ayoub.lol.crt;
|
||||||
|
ssl_certificate_key /etc/nginx/certs/_.seitan-ayoub.lol.key;
|
||||||
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
|
||||||
|
set $backend "http://safetwitch-backend:7000";
|
||||||
|
location /{
|
||||||
|
|
||||||
|
proxy_pass $backend;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
upstream chat {
|
||||||
|
ip_hash;
|
||||||
|
server safetwitch-backend:7000;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user