first commit

This commit is contained in:
hubaceks
2026-04-10 22:42:48 +02:00
commit bcf628a17b
3 changed files with 564 additions and 0 deletions

18
ippam.service Normal file
View File

@@ -0,0 +1,18 @@
[Unit]
Description=Simple IPAM web app
After=network.target
[Service]
User=root
WorkingDirectory=/opt/ipplan
Environment="DB_HOST=localhost"
Environment="DB_PORT=3306"
Environment="DB_USER=ipam_user"
Environment="DB_PASSWORD=Megakrutoprisneheslo"
Environment="DB_NAME=ipam"
Environment="SECRET_KEY=nejake-dlouhe-tajne-heslo"
ExecStart=/usr/bin/python3 /opt/ipplan/app.py
Restart=always
[Install]
WantedBy=multi-user.target