chore: remove constants file
This commit is contained in:
parent
31005c6867
commit
ad06829a45
4 changed files with 8 additions and 12 deletions
5
README.md
Normal file
5
README.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Deluge
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
The application does not expect any environment files, an empty one should be supplied.
|
4
build.sh
4
build.sh
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source constants.sh
|
podman build -t "spad-deluge-app:$IMAGE_VERSION" -f Dockerfile-deluge-app .
|
||||||
|
|
||||||
podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-deluge-app .
|
|
||||||
|
|
|
@ -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
|
|
6
start.sh
6
start.sh
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source constants.sh
|
|
||||||
|
|
||||||
podman pod create \
|
podman pod create \
|
||||||
-p 8112:8112 \
|
-p 8112:8112 \
|
||||||
--replace \
|
--replace \
|
||||||
|
@ -12,10 +10,10 @@ podman run \
|
||||||
--pod "deluge" \
|
--pod "deluge" \
|
||||||
-e PGUID=1000 \
|
-e PGUID=1000 \
|
||||||
-e PGID=1000 \
|
-e PGID=1000 \
|
||||||
--name "$APP_CONTAINER_NAME" \
|
--name "deluge_app" \
|
||||||
--env-file "$ENV_FILE_DIR"/deluge.env \
|
--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/config,target=/config \
|
||||||
--mount type=bind,source="$APP_DATA_DIR"/deluge/downloads,target=/downloads \
|
--mount type=bind,source="$APP_DATA_DIR"/deluge/downloads,target=/downloads \
|
||||||
--mount type=bind,source="$STORAGE_DIR",target=/complete \
|
--mount type=bind,source="$STORAGE_DIR",target=/complete \
|
||||||
--replace \
|
--replace \
|
||||||
"$APP_IMAGE_NAME:$IMAGE_VERSION"
|
"spad-deluge-app:$IMAGE_VERSION"
|
||||||
|
|
Loading…
Reference in a new issue