chore: remove constants file

This commit is contained in:
Marc 2024-05-09 23:55:15 -04:00
parent 31005c6867
commit ad06829a45
Signed by: marc
GPG key ID: 048E042F22B5DC79
4 changed files with 8 additions and 12 deletions

5
README.md Normal file
View file

@ -0,0 +1,5 @@
# Deluge
## Configuration
The application does not expect any environment files, an empty one should be supplied.

View file

@ -1,5 +1,3 @@
#!/bin/bash
source constants.sh
podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-deluge-app .
podman build -t "spad-deluge-app:$IMAGE_VERSION" -f Dockerfile-deluge-app .

View file

@ -1,5 +0,0 @@
#!/bin/bash
export APP_NAME="deluge"
export APP_CONTAINER_NAME=$APP_NAME-app
export APP_IMAGE_NAME=$CONTAINER_NAME_PREFIX-$APP_CONTAINER_NAME

View file

@ -1,7 +1,5 @@
#!/bin/bash
source constants.sh
podman pod create \
-p 8112:8112 \
--replace \
@ -12,10 +10,10 @@ podman run \
--pod "deluge" \
-e PGUID=1000 \
-e PGID=1000 \
--name "$APP_CONTAINER_NAME" \
--name "deluge_app" \
--env-file "$ENV_FILE_DIR"/deluge.env \
--mount type=bind,source="$APP_DATA_DIR"/deluge/config,target=/config \
--mount type=bind,source="$APP_DATA_DIR"/deluge/downloads,target=/downloads \
--mount type=bind,source="$STORAGE_DIR",target=/complete \
--replace \
"$APP_IMAGE_NAME:$IMAGE_VERSION"
"spad-deluge-app:$IMAGE_VERSION"