update: dev

This commit is contained in:
loveuer 2024-03-19 15:39:06 +08:00
parent d3c87d0f8e
commit 8df223de8d
3 changed files with 10 additions and 9 deletions

View File

@ -21,7 +21,7 @@ spec:
spec: spec:
containers: containers:
- name: system - name: system
image: loveuer/hello_app:v2.0.0 image: loveuer/hello_app:v2.0.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: ["/app/hello_app"] command: ["/app/hello_app"]
ports: ports:

View File

@ -7,15 +7,17 @@ docker run \
--restart=always \ --restart=always \
-e SSL_CERT_DIR=/apps/ssl \ -e SSL_CERT_DIR=/apps/ssl \
--add-host raw.githubusercontent.com:185.199.109.133 \ --add-host raw.githubusercontent.com:185.199.109.133 \
-p 443:443 \ . -p 443:443 \
-p 80:80 \ -p 80:80 \
-p 30443:30443 \
-p 30080:30080 \
rancher/rancher rancher/rancher
# -v $(pwd)/ca.crt:/apps/ssl/nf_ca.crt \ # -v $(pwd)/ca.crt:/apps/ssl/nf_ca.crt \
# --add-host repository.umisen.com:10.220.10.17 \ # --add-host repository.umisen.com:10.220.10.17 \
# --network=host \
# -p 443:443 \
# -p 80:80 \
# -p 30443:30443 \
# -p 30080:30080 \
# zypper addrepo https://download.opensuse.org/repositories/network:utilities/SLE_15_SP5/network:utilities.repo # zypper addrepo https://download.opensuse.org/repositories/network:utilities/SLE_15_SP5/network:utilities.repo
# zypper refresh # zypper refresh

View File

@ -41,8 +41,7 @@ func main() {
"time": time.Now(), "time": time.Now(),
"host": hostname, "host": hostname,
}, },
}, })
)
}) })
log.Fatal(app.Run(addr)) log.Fatal(app.Run(addr))