Skip to content

Commit bee1ce6

Browse files
committed
enh: add harp config
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent 86ae683 commit bee1ce6

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
location / {
2+
proxy_pass http://nextcloud.local;
3+
}
4+
5+
location /exapps/ {
6+
proxy_pass http://appapi-dsp-harp:8780;
7+
}
8+

docker-compose.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,20 @@ services:
11061106
- EX_APPS_NET=${EX_APPS_NET:-ipv4@localhost}
11071107
- EX_APPS_COUNT=${EX_APPS_COUNT:-50}
11081108

1109+
appapi-dsp-harp:
1110+
# todo
1111+
image: nextcloud-appapi-harp:latest
1112+
container_name: nextcloud-appapi-harp
1113+
network_mode: ${NETWORK_MODE:-master_default}
1114+
ports:
1115+
- "${EXAPPS_HTTP_PORT:-8780}:8780"
1116+
- "${EXAPPS_FRP_PORT:-8782}:8782"
1117+
volumes:
1118+
- /var/run/docker.sock:/var/run/docker.sock
1119+
environment:
1120+
- NC_HARP_SHARED_KEY=${NC_HAPROXY_SHARED_KEY:-some_very_secure_password}
1121+
- NC_INSTANCE_URL=${NC_INSTANCE_URL:-http://nextcloud.local}
1122+
- HP_FRP_DISABLE_TLS=${HP_FRP_DISABLE_TLS:-true}
11091123

11101124
volumes:
11111125
data:

0 commit comments

Comments
 (0)