Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/enochecker_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: self-hosted
env:
ENOCHECKER_TEST_CHECKER_ADDRESS: localhost
ENOCHECKER_TEST_CHECKER_PORT: 5008
ENOCHECKER_TEST_CHECKER_PORT: 12323

steps:
- uses: actions/checkout@v2
Expand All @@ -31,11 +31,11 @@ jobs:
- name: start service
run: |
cd service
docker-compose up --build --force-recreate -d
docker compose up --build --force-recreate -d
- name: start checker
run: |
cd checker
docker-compose up --build --force-recreate -d
docker compose up --build --force-recreate -d
- name: obtain Docker host IP
run: |
echo "ENOCHECKER_TEST_SERVICE_ADDRESS=$(ip -4 address show dev eth0 | grep inet | awk '{ print $2 }' | sed 's|/.*$||')" >> $GITHUB_ENV
Expand All @@ -59,6 +59,6 @@ jobs:
- name: Kill docker containers
if: failure() || success()
run: |
(cd service && docker-compose kill)
(cd checker && docker-compose kill)
(cd service && docker compose kill)
(cd checker && docker compose kill)

2 changes: 1 addition & 1 deletion checker3/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build: .
# The checker runs a HTTP interfaces, so we need to map port 3031 to the outside (port 8000).
ports:
- 5008:8000
- 12323:8000
environment:
- MONGO_ENABLED=1
- MONGO_HOST=n0t3b00k-mongo
Expand Down