fix
This commit is contained in:
parent
f1eb2258eb
commit
8ffe1ad7e1
@ -12,6 +12,7 @@ podman pod exists $POD || podman pod create -p 5000:5000 -n $POD
|
|||||||
test -d tmp || mkdir tmp
|
test -d tmp || mkdir tmp
|
||||||
test -f client_secrets.json || (echo "missing client_secrets" && exit 2)
|
test -f client_secrets.json || (echo "missing client_secrets" && exit 2)
|
||||||
|
|
||||||
|
podman build -t git.resf.org/infrastructure/mirrormanager2:dev -f Containerfile
|
||||||
podman rm --force mm2 -t 1
|
podman rm --force mm2 -t 1
|
||||||
podman run \
|
podman run \
|
||||||
--pod $POD \
|
--pod $POD \
|
||||||
@ -26,7 +27,7 @@ podman run \
|
|||||||
-v $PWD/tmp:/var/tmp:rw \
|
-v $PWD/tmp:/var/tmp:rw \
|
||||||
-v $PWD/static:/usr/lib/python3.12/site-packages/mirrormanager2/static \
|
-v $PWD/static:/usr/lib/python3.12/site-packages/mirrormanager2/static \
|
||||||
-v $PWD/templates:/usr/lib/python3.12/site-packages/mirrormanager2/templates \
|
-v $PWD/templates:/usr/lib/python3.12/site-packages/mirrormanager2/templates \
|
||||||
-d git.resf.org/infrastructure/mirrormanager2:latest
|
-d git.resf.org/infrastructure/mirrormanager2:dev
|
||||||
|
|
||||||
# Setup sqlite database
|
# Setup sqlite database
|
||||||
echo "mirrormanager2 and nginx have been statred. You may need to run:"
|
echo "mirrormanager2 and nginx have been statred. You may need to run:"
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 7.4 KiB |
Loading…
Reference in New Issue
Block a user