Merge pull request 'docs: updated README' (#8) from env into master
All checks were successful
/ update (push) Successful in 1s
All checks were successful
/ update (push) Successful in 1s
Reviewed-on: #8
This commit is contained in:
commit
e034601337
1 changed files with 9 additions and 14 deletions
23
README.md
23
README.md
|
@ -18,20 +18,15 @@ python3 -m venv .venv
|
||||||
pip install requirements.txt
|
pip install requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
```systemd
|
## Building the container
|
||||||
# /etc/systemd/system/adrianux.service
|
|
||||||
[Unit]
|
|
||||||
Description=WSGI app
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
```
|
||||||
Type=simple
|
# <runtime> build -t adrianux:<tag> .
|
||||||
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>
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue