refs #739: align Smilegate with application repository layout

This commit is contained in:
devmrko
2026-08-03 12:37:38 +09:00
parent 4d2964b5c6
commit 03bf0e096c
13 changed files with 217 additions and 390 deletions

View File

@@ -0,0 +1,20 @@
[Unit]
Description=Smilegate PoC4 Portal Authentication Gateway
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=opc
Group=opc
WorkingDirectory=/home/opc/workspaces/vpd-permission-poc-20260628213409/poc4_active_source_20260714
EnvironmentFile=/etc/smilegate/backoffice.env
EnvironmentFile=/etc/smilegate/poc4-console.env
ExecStart=/opt/smilegate/poc4-console/venv/bin/python /home/opc/workspaces/vpd-permission-poc-20260628213409/poc4_active_source_20260714/apps/poc4/portal_auth_gateway.py
Restart=on-failure
RestartSec=3
NoNewPrivileges=true
PrivateTmp=true
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=/opt/smilegate/poc4-console/venv/bin/streamlit run /home/opc/workspaces/vpd-permission-poc-20260628213409/poc4_active_source_20260714/apps/smilegate_demo/main.py --server.address 127.0.0.1 --server.port 8622 --server.headless true --server.enableCORS false --server.enableXsrfProtection false --browser.serverAddress smilegate.cloud-handson.com --browser.serverPort 443 --browser.gatherUsageStats false --logger.level=warn