File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed
Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 66 <description >
77 <![CDATA[ Application to test the Docker AppAPI deployment process]]>
88 </description >
9- <version >2.0.0 </version >
9+ <version >2.0.1 </version >
1010 <licence >MIT</licence >
1111 <
author mail =
" [email protected] " homepage =
" https://github.com/andrey18106" >Andrey Borysenko</
author >
1212 <
author mail =
" [email protected] " homepage =
" https://github.com/bigcat88" >Alexander Piskun</
author >
Original file line number Diff line number Diff line change 1- nc_py_api [app ]>= 0.19.0
1+ nc_py_api [app ]>= 0.19.1
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ # SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
3+ # SPDX-License-Identifier: AGPL-3.0-or-later
4+
25set -e
36
47# Only create a config file if HP_SHARED_KEY is set.
@@ -19,11 +22,12 @@ transport.tls.serverName = "harp.nc"
1922metadatas.token = "$HP_SHARED_KEY "
2023
2124[[proxies]]
22- name = "$APP_ID "
23- type = "tcp"
24- localIP = "127.0.0.1"
25- localPort = $APP_PORT
2625remotePort = $APP_PORT
26+ type = "tcp"
27+ name = "$APP_ID "
28+ [proxies.plugin]
29+ type = "unix_domain_socket"
30+ unixPath = "/tmp/exapp.sock"
2731EOF
2832 else
2933 echo " Directory /certs/frp not found. Creating configuration without TLS certificates."
@@ -36,11 +40,12 @@ transport.tls.enable = false
3640metadatas.token = "$HP_SHARED_KEY "
3741
3842[[proxies]]
39- name = "$APP_ID "
40- type = "tcp"
41- localIP = "127.0.0.1"
42- localPort = $APP_PORT
4343remotePort = $APP_PORT
44+ type = "tcp"
45+ name = "$APP_ID "
46+ [proxies.plugin]
47+ type = "unix_domain_socket"
48+ unixPath = "/tmp/exapp.sock"
4449EOF
4550 fi
4651else
@@ -53,6 +58,6 @@ if [ -f /frpc.toml ] && [ -n "$HP_SHARED_KEY" ]; then
5358 frpc -c /frpc.toml &
5459fi
5560
56- # Start the main Python application
61+ # Start the main application (adjust it for your ExApp)
5762echo " Starting main application..."
5863exec python3 main.py
You can’t perform that action at this time.
0 commit comments