diff --git a/README.md b/README.md new file mode 100644 index 0000000..4a4b71b --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Deluge + +## Configuration + +The application does not expect any environment files, an empty one should be supplied. diff --git a/build.sh b/build.sh index d8fa3af..4bd8d17 100644 --- a/build.sh +++ b/build.sh @@ -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 . diff --git a/constants.sh b/constants.sh deleted file mode 100644 index 834c9b0..0000000 --- a/constants.sh +++ /dev/null @@ -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 diff --git a/start.sh b/start.sh index 5d0cd32..e8fec3b 100644 --- a/start.sh +++ b/start.sh @@ -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"