Compare commits
2 commits
f177aec01d
...
7b890f72a9
Author | SHA1 | Date | |
---|---|---|---|
7b890f72a9 | |||
42c89a8792 |
4 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ podman-default-create \
|
|||
-v $db_container_dir:/var/lib/postgresql/data:Z \
|
||||
--env-file $db_env_file \
|
||||
--label "io.containers.autoupdate=registry" \
|
||||
docker.io/library/postgres:alpine
|
||||
docker.io/library/postgres:14-alpine
|
||||
|
||||
podman-default-create \
|
||||
$container_name \
|
||||
|
|
|
@ -29,7 +29,7 @@ podman-default-create \
|
|||
-v $db_container_dir:/var/lib/postgresql/data:Z \
|
||||
--env-file $postgres_env_file \
|
||||
--label "io.containers.autoupdate=registry" \
|
||||
docker.io/library/postgres:alpine
|
||||
docker.io/library/postgres:14-alpine
|
||||
|
||||
podman-default-create \
|
||||
$container_name \
|
||||
|
|
|
@ -23,7 +23,7 @@ podman-default-create \
|
|||
-v $db_container_dir:/var/lib/postgresql/data:Z \
|
||||
--env-file $db_env_file \
|
||||
--label "io.containers.autoupdate=registry" \
|
||||
docker.io/library/postgres:alpine
|
||||
docker.io/library/postgres:14-alpine
|
||||
|
||||
podman-default-create \
|
||||
$container_name \
|
||||
|
|
|
@ -18,7 +18,7 @@ buildah run builder -- tar -xzvf zola.tar.gz
|
|||
buildah run builder -- rm zola.tar.gz
|
||||
buildah run builder -- mv zola /usr/local/bin
|
||||
|
||||
buildah config --workingdir /volumes/src -e ROCKET_ADDRESS=0.0.0.0 -e ROCKET_PORT=80 -e DATABASE_URL=/volumes/db/db.sqlite builder
|
||||
buildah config --workingdir /volumes/src -e DATABASE_URL=/volumes/db/db.sqlite builder
|
||||
buildah config --cmd 'cargo run -r' builder
|
||||
|
||||
if systemctl --user is-enabled container-$container_name
|
||||
|
|
Loading…
Reference in a new issue