File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -3,26 +3,21 @@ services:
33 configs :
44 - source : run.sh
55 target : run.sh
6- ports :
7- - " 8080:8080"
86 volumes :
97 - /var/run/tappd.sock:/var/run/tappd.sock
108 build :
119 dockerfile_inline : |
1210 FROM ubuntu:22.04
1311 RUN apt-get update
1412 RUN apt install -y curl openssl ntpsec-ntpdate
15- command : bash -c "bash run.sh | tee -a /root/log.txt"
13+ command : bash run.sh
1614
1715configs :
1816 run.sh :
1917 content : |
2018 #!/bin/bash
2119 key=$$(openssl genpkey -algorithm Ed25519)
2220 echo "Public Key:"; echo "$$key" | openssl pkey -pubout
23-
24- # Serve the log file (TODO: dashboard not working?)
25- (cd /root && python3 -m http.server 8080) &
2621
2722 # Get timestamp from cloudflare and add 5 minutes
2823 get_time() { ntpdate -4q time.cloudflare.com 2>/dev/null | head -1 | cut -d' ' -f1,2 | date +%s -f -; }
You can’t perform that action at this time.
0 commit comments