README.md (view raw)
1# FixYouTube
2Embed YouTube videos on Telegram, Discord and more!
3
4## Instructions (Docker)
5
6### With reverse proxy
7Copy the template config file and make your adjustments. My configuration is based on [DuckDNS](http://duckdns.org/) but you can use whatever provider you find [here](https://docs.linuxserver.io/general/swag#docker-compose).
8```
9cp docker/swag.env.example docker/swag.env
10nano docker/swag.env
11```
12
13Finally: `docker-compose up -d`.
14
15### Without reverse proxy
16Simply run:
17```
18docker run -d -p 1111:80 --name fixyoutube --restart unless-stopped ghcr.io/birabittoh/fixyoutube:main
19```
20
21## Instructions (local)
22
23### Debug
24```
25poetry install
26poetry run flask --app fixyoutube run --port 1111 --debug
27```
28
29### Production
30```
31poetry install --with prod
32poetry run waitress-serve --port 1111 fixyoutube:app
33```