Skip to content

Commit

Permalink
Merge pull request #979 from neicnordic/fix/update-docker-compose-com…
Browse files Browse the repository at this point in the history
…mand

docker compose instead of docker-compose
  • Loading branch information
jbygdell authored Aug 7, 2024
2 parents e9ce11b + 0337bf8 commit 3d3d130
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/functionality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
run: |
cd sda-sftp-inbox/dev_utils
bash ./make_certs.sh
docker-compose up certfixer
docker-compose up -d
docker compose up certfixer
docker compose up -d
sleep 20
- name: Run test for sftp ssh connection
Expand Down
6 changes: 3 additions & 3 deletions sda-download/.github/integration/setup/common/10_services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bash ./make_certs.sh

if [ "$STORAGETYPE" = s3notls ]; then

docker-compose -f compose-no-tls.yml up -d
docker compose -f compose-no-tls.yml up -d

RETRY_TIMES=0
for p in db s3 download; do
Expand All @@ -34,7 +34,7 @@ else

# We need to leave the $tostart variable unquoted here since we want it to split
# shellcheck disable=SC2086
docker-compose -f compose.yml up -d $tostart
docker compose -f compose.yml up -d $tostart

for p in $tostart; do
RETRY_TIMES=0
Expand All @@ -54,7 +54,7 @@ else
done
done

docker-compose -f compose.yml up -d
docker compose -f compose.yml up -d

RETRY_TIMES=0
until docker ps -f name="download" --format "{{.Status}}" | grep "Up"
Expand Down
2 changes: 1 addition & 1 deletion sda-download/dev_utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sh make_certs.sh
## Getting up and running fast with docker compose

```command
docker-compose -f compose-no-tls.yml up -d
docker compose -f compose-no-tls.yml up -d
```

For testing the API
Expand Down
4 changes: 2 additions & 2 deletions sda-sftp-inbox/.github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
run: |
cd dev_utils
bash ./make_certs.sh
docker-compose up certfixer
docker-compose up -d
docker compose up certfixer
docker compose up -d
sleep 20
- name: Run test for sftp ssh connection
Expand Down
4 changes: 2 additions & 2 deletions sda-sftp-inbox/dev_utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ sh make_certs.sh
Start creating the certificates, java is picky and we need to create them first

```command
docker-compose up -d certfixer
docker compose up -d certfixer
```

To start all the other services using docker compose.

```command
docker-compose up -d
docker compose up -d
```

For a test example use:
Expand Down

0 comments on commit 3d3d130

Please sign in to comment.