Skip to content

Commit

Permalink
Fix up command
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed May 6, 2024
1 parent 80dfe05 commit 3cdb850
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ARG NDN_CXX_VERSION=latest
FROM python:3-alpine AS testbed-master

RUN <<EOF
apk add docker-cli docker-cli-compose git
apk add docker-cli-compose --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
apk add git
pip install --no-cache-dir --disable-pip-version-check \
PyYAML \
python-ndn==0.4.2 \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
healthcheck:
test: [CMD, stat, /repo/dist/.master-ready]
interval: 3s
restart: unless-stopped
restart: always

caddy:
image: caddy:2
Expand Down
4 changes: 3 additions & 1 deletion scripts/cron-1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ echo -e "Running cron-1 at $(date)\n"
cd /repo

git pull

export PWD=$ROOT_DIR
python3 framework/main.py

# Apply changes to the docker-compose.yml
# Also starts up any services that are not running
docker compose up -d
docker compose up -d --remove-orphans

0 comments on commit 3cdb850

Please sign in to comment.