No description
Find a file
2025-03-20 14:41:11 +01:00
static/css add: content 2024-11-28 12:08:48 +01:00
templates feat: force light mode 2025-03-20 14:12:23 +01:00
.dockerignore fix: ignore all things containing git information 2025-02-12 10:40:57 +01:00
.gitignore docs: updated for docker; feat: local and latest dockerfiles; add: .dockerignore file; feat: implemented health check for adrianux app 2025-02-05 18:28:17 +01:00
app.py remove: monitoring(replaced by statping-ng); fix: template naming 2025-03-14 17:19:35 +01:00
docker-compose.yml docs: updated for docker; feat: local and latest dockerfiles; add: .dockerignore file; feat: implemented health check for adrianux app 2025-02-05 18:28:17 +01:00
Dockerfile remove: monitoring(replaced by statping-ng); fix: template naming 2025-03-14 17:19:35 +01:00
Jenkinsfile Update Jenkinsfile 2025-03-20 14:41:11 +01:00
LICENSE add: license 2024-11-12 15:52:22 +00:00
README.md docs: updated for docker; feat: local and latest dockerfiles; add: .dockerignore file; feat: implemented health check for adrianux app 2025-02-05 18:28:17 +01:00
requirements.txt add: requests library to requirements list 2024-12-02 11:33:03 +00:00

Installation

Setting up the environment

  1. Create a virtual environment:
python3 -m venv .venv
  1. Activate the virtual environment:
. .venv/bin/activate
  1. Install dependencies:
pip install requirements.txt
  1. Set the environment variables:
export GIT_URL=http://git.adrianux.net
export WEBSITE_URL=http://adrianux.net
export DEBUGMODE=False
  1. Run the app:
waitress-serve --listen=0.0.0.0:8080 app:app

Docker

Building the container

docker build -t adrianux:latest - < latest.dockerfile

Running the container

docker run adrianux:latest

Docker Compose

docker compose up adrianux