📝 Referenced self-hosting docs in README.md
This commit is contained in:
@@ -13,12 +13,7 @@ If you want to use it in real-life,
|
||||
please contact me on [my website](https://mawoka.eu/contact?utm_medium=Github&utm_source=Readme).
|
||||
## Self-Host
|
||||
|
||||
1. Clone this repo: `git clone https://github.com/mawoka-myblock/ClassQuiz.git`
|
||||
2. Edit `frontend/Dockerfile` and set in line 7 (`REDIS_URL=`) to a valid redis-dsn.
|
||||
I use [Upstash](https://upstash.com/) for that.
|
||||
3. Customize the `docker-compose.yml` to your needs
|
||||
4. Build the docker-images: `docker compose build`
|
||||
5. Lastly, start it: `docker compose up -d`
|
||||
Please see https://classquiz.mawoka.eu/docs/self-host
|
||||
|
||||
### Things to know about the structure
|
||||
1. Everything depends on Redis (API and frontend).
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
FROM node:16 as builder
|
||||
# ENV API_URL=http://api:80
|
||||
ENV API_URL=https://mawoka.eu
|
||||
ENV REDIS_URL=rediss://:3e49f55793714c518f6bf7aa2970f7e5@gusc1-romantic-civet-31589.upstash.io:31589
|
||||
ENV REDIS_URL=CHANGE_ME
|
||||
ENV VITE_HCAPTCHA=ee81b2a1-acf3-4d20-b2a4-a7ea94c7eba5
|
||||
ENV VITE_SENTRY=https://4981de1f72f24fd7b5e21b8913b93a02@o661934.ingest.sentry.io/6254641
|
||||
# change working directory
|
||||
|
||||
Reference in New Issue
Block a user