Skip to content

Commit

Permalink
Testing, installing latest version of downloader from git.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-i-berry committed Aug 19, 2024
1 parent 711e4cd commit 17ed55e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
echo "Running as $(whoami)"
echo "Current directory: $(pwd)"
# print the download_dir
echo "Download directory in container: $DOWNLOAD_DIR"
Expand All @@ -8,6 +9,8 @@ if [ ! -d "$DOWNLOAD_DIR" ]; then
echo "Creating download directory: $DOWNLOAD_DIR"
mkdir -p "$DOWNLOAD_DIR"
fi
ls -althF "$DOWNLOAD_DIR"

envsubst < /home/wis2downloader/app/config/config.template > /home/wis2downloader/app/config/config.json

# if session-info.json does not exists in $DOWNLOAD_DIR, create it
Expand Down
4 changes: 0 additions & 4 deletions docker/tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ services:
- broker
- subscriber
tty: true
volumes:
- ./data:/data

subscriber:
build:
Expand All @@ -31,7 +29,5 @@ services:
DOWNLOAD_BROKER_TRANSPORT: "tcp"
ports:
- "5000:5000"
volumes:
- ./data:/home/wis2downloader/app/data/downloads
depends_on:
- broker

0 comments on commit 17ed55e

Please sign in to comment.