feat: waitress port from services option

This commit is contained in:
2023-01-15 18:20:10 +01:00
parent 25441ea4b2
commit a684479e05
3 changed files with 22 additions and 9 deletions

View File

@@ -77,7 +77,6 @@
src: oauth-standalone-docker-compose.yaml
dest: "/opt/oauth2proxy/{{ item }}/docker-compose.yaml"
with_items:
- python-flask-picture-factory
- simple-log-server
- soundlib-interface
@@ -86,10 +85,10 @@
src: "waitress-systemd-unit.j2"
dest: "/etc/systemd/system/{{ item.name }}.service"
with_items:
- { name : "image-factory", path : "/var/www/python-flask-picture-factory", port : 5000 }
- { name : "serien-ampel", path : "/var/www/serien-ampel", port : 5001 }
- { name : "simple-log-server", path : "/var/www/simple-log-server", port : 5002 }
- { name : "soundlib", path : "/var/www/soundlib-interface", port : 5003 }
- { name : "image-factory", path : "/var/www/python-flask-picture-factory" }
- { name : "serien-ampel", path : "/var/www/serien-ampel" }
- { name : "simple-log-server", path : "/var/www/simple-log-server" }
- { name : "soundlib", path : "/var/www/soundlib-interface" }
notify:
- daemon reload