deluge/start.sh

19 lines
508 B
Bash

#!/bin/bash
podman pod create \
-p 8112:8112 \
--replace \
"deluge"
podman run \
-d \
--pod "deluge" \
-e PGUID=1000 \
-e PGID=1000 \
--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 \
"spad-deluge-app:$IMAGE_VERSION"