feat(scripts): replace docker calls with equivalent podman calls in services

This commit is contained in:
Marc 2024-02-03 13:26:05 -05:00
parent 60fe4798b7
commit 2537fd43ff
Signed by: marc
GPG key ID: 048E042F22B5DC79
15 changed files with 26 additions and 26 deletions

View file

@ -2,4 +2,4 @@
source constants.sh source constants.sh
docker build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bastion-app . podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bastion-app .

View file

@ -2,9 +2,9 @@
source constants.sh source constants.sh
docker network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists" podman network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
docker run \ podman run \
--detach \ --detach \
--network $NETWORK_NAME \ --network $NETWORK_NAME \
--name $APP_CONTAINER_NAME \ --name $APP_CONTAINER_NAME \

View file

@ -2,4 +2,4 @@
source constants.sh source constants.sh
docker rm -f $APP_CONTAINER_NAME podman rm -f $APP_CONTAINER_NAME

View file

@ -2,5 +2,5 @@
source constants.sh source constants.sh
docker build -t $DB_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bitwarden-db . podman build -t $DB_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bitwarden-db .
docker build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bitwarden-app . podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bitwarden-app .

View file

@ -2,9 +2,9 @@
source constants.sh source constants.sh
docker network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists" podman network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
docker run \ podman run \
--detach \ --detach \
--network $NETWORK_NAME \ --network $NETWORK_NAME \
--name $DB_CONTAINER_NAME \ --name $DB_CONTAINER_NAME \
@ -12,7 +12,7 @@ docker run \
--mount type=bind,source=$APP_DATA_DIR/bitwarden/db,target=/var/lib/mysql \ --mount type=bind,source=$APP_DATA_DIR/bitwarden/db,target=/var/lib/mysql \
$DB_IMAGE_NAME:$IMAGE_VERSION $DB_IMAGE_NAME:$IMAGE_VERSION
docker run \ podman run \
--detach \ --detach \
--network $NETWORK_NAME \ --network $NETWORK_NAME \
--name $APP_CONTAINER_NAME \ --name $APP_CONTAINER_NAME \

View file

@ -2,5 +2,5 @@
source constants.sh source constants.sh
docker rm -f $APP_CONTAINER_NAME podman rm -f $APP_CONTAINER_NAME
docker rm -f $DB_CONTAINER_NAME podman rm -f $DB_CONTAINER_NAME

View file

@ -2,5 +2,5 @@
source constants.sh source constants.sh
docker build -t $DB_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bookstack-db . podman build -t $DB_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bookstack-db .
docker build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bookstack-app . podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bookstack-app .

View file

@ -2,9 +2,9 @@
source constants.sh source constants.sh
docker network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists" podman network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
docker run \ podman run \
--detach \ --detach \
--network $NETWORK_NAME \ --network $NETWORK_NAME \
--name $DB_CONTAINER_NAME \ --name $DB_CONTAINER_NAME \
@ -12,7 +12,7 @@ docker run \
--mount type=bind,source=$APP_DATA_DIR/bookstack-db,target=/var/lib/mysql \ --mount type=bind,source=$APP_DATA_DIR/bookstack-db,target=/var/lib/mysql \
$DB_IMAGE_NAME:$IMAGE_VERSION $DB_IMAGE_NAME:$IMAGE_VERSION
docker run \ podman run \
--detach \ --detach \
--network $NETWORK_NAME \ --network $NETWORK_NAME \
--name $APP_CONTAINER_NAME \ --name $APP_CONTAINER_NAME \

View file

@ -2,5 +2,5 @@
source constants.sh source constants.sh
docker rm -f $APP_CONTAINER_NAME podman rm -f $APP_CONTAINER_NAME
docker rm -f $DB_CONTAINER_NAME podman rm -f $DB_CONTAINER_NAME

View file

@ -2,4 +2,4 @@
source constants.sh source constants.sh
docker build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-deluge-app . podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-deluge-app .

View file

@ -2,9 +2,9 @@
source constants.sh source constants.sh
docker network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists" podman network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
docker run \ podman run \
--detach \ --detach \
--network $NETWORK_NAME \ --network $NETWORK_NAME \
--name $APP_CONTAINER_NAME \ --name $APP_CONTAINER_NAME \

View file

@ -2,4 +2,4 @@
source constants.sh source constants.sh
docker rm -f $APP_CONTAINER_NAME podman rm -f $APP_CONTAINER_NAME

View file

@ -2,4 +2,4 @@
source constants.sh source constants.sh
docker build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-plex-app . podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-plex-app .

View file

@ -2,9 +2,9 @@
source constants.sh source constants.sh
docker network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists" podman network create $NETWORK_NAME || echo "Network $NETWORK_NAME already exists"
docker run \ podman run \
--detach \ --detach \
--network $NETWORK_NAME \ --network $NETWORK_NAME \
--name $APP_CONTAINER_NAME \ --name $APP_CONTAINER_NAME \

View file

@ -2,4 +2,4 @@
source constants.sh source constants.sh
docker rm -f $APP_CONTAINER_NAME podman rm -f $APP_CONTAINER_NAME