Compare commits

..

No commits in common. "e034601337a88b97cc9fa901d50cca67d4fa34fb" and "4581e65109d3517cd6f50abcc31f13be93345a78" have entirely different histories.

View file

@ -18,15 +18,20 @@ python3 -m venv .venv
pip install requirements.txt
```
## Building the container
```systemd
# /etc/systemd/system/adrianux.service
[Unit]
Description=WSGI app
After=network.target
```
# <runtime> build -t adrianux:<tag> .
[Service]
Type=simple
User=adrianux
WorkingDirectory=/opt/Adrianux.net
ExecStart=/opt/Adrianux.net/.venv/bin/waitress-serve --listen=127.0.0.1:8080 app:app
Restart=always
[Install]
WantedBy=multi-user.target
```
## Running the container
```
# <runtime> run adrianux:<tag>
```