nyanya
commited on
Commit
•
adc5d49
1
Parent(s):
d57ea55
caddy handle
Browse files- start_server.sh +4 -4
start_server.sh
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
-
echo "Start Caddy"
|
4 |
-
/usr/bin/caddy run --config /home/user/app/Caddyfile --adapter caddyfile &
|
5 |
-
|
6 |
#ssh -o StrictHostKeyChecking=no -R nya:80:localhost:7860 tunne.link -p8043 &
|
7 |
autossh -M 0 -o "StrictHostKeyChecking=no" -R nya:80:localhost:7860 tunne.link -p8043 &
|
8 |
|
9 |
/app/.npm-global/bin/serve . -l 8080 &
|
10 |
|
11 |
echo "Starting VSCode Server..."
|
12 |
-
/app/openvscode-server/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token "${@}"
|
|
|
|
|
|
|
|
1 |
#!/bin/bash
|
2 |
|
|
|
|
|
|
|
3 |
#ssh -o StrictHostKeyChecking=no -R nya:80:localhost:7860 tunne.link -p8043 &
|
4 |
autossh -M 0 -o "StrictHostKeyChecking=no" -R nya:80:localhost:7860 tunne.link -p8043 &
|
5 |
|
6 |
/app/.npm-global/bin/serve . -l 8080 &
|
7 |
|
8 |
echo "Starting VSCode Server..."
|
9 |
+
/app/openvscode-server/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token "${@}" &
|
10 |
+
|
11 |
+
echo "Start Caddy"
|
12 |
+
/usr/bin/caddy run --config /home/user/app/Caddyfile --adapter caddyfile
|