Main stable server
Testing server
Make sure you have Linux, ports 80 and 443 open, docker, and DNS record already pointing to your server.
# Download
git clone https://github.com/kevinf100/tuberepair.uptimetrackers.com
mv tuberepair.uptimetrackers.com/ tuberepairdocker/
cd tuberepairdocker
cp ./example/.env ../
cp ./example/docker-compose-example.yml ./example/docker-compose.yml
Next you'll need to edit the .env file or you can edit the docker-compose.yml directly.
The .env in example is the bare minimum you need for the server to run.
You can always add more to it.
Uncomment the lines in docker-compose.yml that say to uncomment it (Lines 38 and 56) and comment that lines above them (Lines 37 and 55). Comment the user USERID line (line 3) in .env.
Get your userid
id -u
add it to USERID in the .env file.
Once you edit the docker-compose.yml you are done and can run the server!
# Start
docker compose up -d --build
Make sure you have Linux and docker.
# Download
git clone https://github.com/kevinf100/tuberepair.uptimetrackers.com
mv tuberepair.uptimetrackers.com/ tuberepairdocker/
cd tuberepairdocker
cp ./example/.env ../
cp ./example/docker-compose-home-example.yml ./example/docker-compose.yml
Next you'll need to edit the .env file or you can edit the docker-compose.yml directly.
Skip to start!
You need to allow docker to expose a privileged port.
https://docs.docker.com/engine/security/rootless/#exposing-privileged-ports
or
change the port 80 on line 15 in docker-compose.yml to a port higher than 1023. I recommend 4000
Once you edit the docker-compose.yml you are done and can run the server!
# Start
docker compose up -d --build
You should be able to connect to it from your private ip.
Example
http://192.168.0.100/
If that doesn't work try adding the port like this.
http://192.168.0.100:80/
You will need to add the port.
http://192.168.0.100:YOUR PORT YOU SET HERE/
Make sure you have Python (3.8 minimum) and virtualenv (optional) installed.
# Download
git clone https://github.com/kevinf100/tuberepair.uptimetrackers.com
mv tuberepair.uptimetrackers.com/ tuberepairdocker/
cd tuberepairdocker/tuberepair
# Preparing virtualenv
# You can just skip to pip, but for good measures.
virtualenv tuberepair
source tuberepair/bin/activate
pip install -r requirements.txt
# Running
python main.py
I will not copy code that explicitly states "do not modify".