Skip to content

Commit ff0efd5

Browse files
authored
Use docker compose isntead of docker-compose (#20)
1 parent 450c881 commit ff0efd5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/enochecker_test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: self-hosted
1515
env:
1616
ENOCHECKER_TEST_CHECKER_ADDRESS: localhost
17-
ENOCHECKER_TEST_CHECKER_PORT: 5008
17+
ENOCHECKER_TEST_CHECKER_PORT: 12323
1818

1919
steps:
2020
- uses: actions/checkout@v2
@@ -31,11 +31,11 @@ jobs:
3131
- name: start service
3232
run: |
3333
cd service
34-
docker-compose up --build --force-recreate -d
34+
docker compose up --build --force-recreate -d
3535
- name: start checker
3636
run: |
3737
cd checker
38-
docker-compose up --build --force-recreate -d
38+
docker compose up --build --force-recreate -d
3939
- name: obtain Docker host IP
4040
run: |
4141
echo "ENOCHECKER_TEST_SERVICE_ADDRESS=$(ip -4 address show dev eth0 | grep inet | awk '{ print $2 }' | sed 's|/.*$||')" >> $GITHUB_ENV
@@ -59,6 +59,6 @@ jobs:
5959
- name: Kill docker containers
6060
if: failure() || success()
6161
run: |
62-
(cd service && docker-compose kill)
63-
(cd checker && docker-compose kill)
62+
(cd service && docker compose kill)
63+
(cd checker && docker compose kill)
6464

checker3/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
build: .
66
# The checker runs a HTTP interfaces, so we need to map port 3031 to the outside (port 8000).
77
ports:
8-
- 5008:8000
8+
- 12323:8000
99
environment:
1010
- MONGO_ENABLED=1
1111
- MONGO_HOST=n0t3b00k-mongo

0 commit comments

Comments
 (0)