diff --git a/goemaxima.service b/goemaxima.service index 6f4a5bbb8a3ff46f23d8a2c97e9154c416a3c759..3de595a3693bebad50d557d8506a7759c58337ce 100644 --- a/goemaxima.service +++ b/goemaxima.service @@ -7,7 +7,7 @@ After=remote-fs.target [Service] Restart=on-failure RestartSec=1s -ExecStart=/usr/bin/docker run --rm --name goemaximapool --env GOEMAXIMA_QUEUE_LEN=16 --publish 0.0.0.0:8080:8080 goemaxima:2020120600-dev +ExecStart=/usr/bin/docker run --rm --name goemaximapool --env GOEMAXIMA_QUEUE_LEN=16 --publish 0.0.0.0:8080:8080 goemaxima:2023060500-dev [Install] WantedBy=multi-user.target diff --git a/hsh-custom-build.sh b/hsh-custom-build.sh new file mode 100755 index 0000000000000000000000000000000000000000..36db52da8824a89680fe85b863e7df26858a8b5d --- /dev/null +++ b/hsh-custom-build.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# We need Go 1.13 for this to compile properly +docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.20 bash -c './buildweb.sh' + +# Build container with custom added version 2023060500 +./buildimage.sh 2023060500 diff --git a/hsh-custom-run.sh b/hsh-custom-run.sh new file mode 100644 index 0000000000000000000000000000000000000000..0da0ce55d1cfb50f3846362557116595828ed08f --- /dev/null +++ b/hsh-custom-run.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker run -d -p 0.0.0.0:80:8080/tcp goemaxima:2023060500-dev