Compare commits
No commits in common. "1b7efc50e98e76ff9237bae8d130fe7a4859591e" and "083e54e1457a4382c45ac82915b76b942b717cb2" have entirely different histories.
1b7efc50e9
...
083e54e145
1 changed files with 3 additions and 8 deletions
11
build.sh
11
build.sh
|
|
@ -29,14 +29,9 @@ if [ "${NO_DEPLOY:-0}" = "1" ]; then
|
|||
fi
|
||||
|
||||
if ! podman pod exists "$POD"; then
|
||||
echo "pod '$POD' does not exist - creating it"
|
||||
podman pod create --name "$POD" \
|
||||
-p 2398:2398 \
|
||||
-p 127.0.0.1:2600:2600 \
|
||||
-p 2400:2400 \
|
||||
-p 12399:12399/udp \
|
||||
-p 12400:12400/udp \
|
||||
-p 12500-12999:12500-12999/udp
|
||||
echo "error: pod '$POD' does not exist - create it first, e.g.:" >&2
|
||||
echo " podman pod create --name $POD -p 127.0.0.1:2401:2401" >&2
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -f .env ]; then
|
||||
echo "error: .env not found (containers are created with --env-file .env)" >&2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue