Updated docker-compose to docker compose (#377)

This commit is contained in:
Aidar 2024-03-12 17:27:27 +06:00 committed by GitHub
parent 34ca1c2d6b
commit 5f72db234f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 15 additions and 15 deletions

View File

@ -32,7 +32,7 @@ jobs:
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}
-
name: Start dependency services
run: docker-compose up -d
run: docker compose up -d
-
name: Build UI
run: make build-ui

View File

@ -40,7 +40,7 @@ api: version
# Builds the UI.
build-ui:
docker-compose run --rm --no-deps chirpstack-ui make build
docker compose run --rm --no-deps chirpstack-ui make build
# Enter the devshell.
devshell:
@ -48,11 +48,11 @@ devshell:
# Enters the Docker devshell for ChirpStack development.
docker-devshell:
docker-compose run --rm --service-ports --name chirpstack chirpstack
docker compose run --rm --service-ports --name chirpstack chirpstack
# Enters the devshell for ChirpStack UI development.
docker-devshell-ui:
docker-compose run --rm --service-ports --name chirpstack-ui chirpstack-ui bash
docker compose run --rm --service-ports --name chirpstack-ui chirpstack-ui bash
# Runs the tests
test:

View File

@ -76,7 +76,7 @@ to be running before you can run the tests. You need to start these services
manually if you started the development shell using `nix-shell`:
```bash
docker-compose up -d
docker compose up -d
```
#### Run tests

20
api/Makefile vendored
View File

@ -1,31 +1,31 @@
.PHONY: rust grpc-web go js python md java kotlin csharp
all:
docker-compose up
docker compose up
rust:
docker-compose run --rm chirpstack-api-rust
docker compose run --rm chirpstack-api-rust
grpc-web:
docker-compose run --rm chirpstack-api-grpc-web
docker compose run --rm chirpstack-api-grpc-web
go:
docker-compose run --rm chirpstack-api-go
docker compose run --rm chirpstack-api-go
js:
docker-compose run --rm chirpstack-api-js
docker compose run --rm chirpstack-api-js
python:
docker-compose run --rm chirpstack-api-python
docker compose run --rm chirpstack-api-python
md:
docker-compose run --rm chirpstack-api-md
docker compose run --rm chirpstack-api-md
java:
docker-compose run --rm chirpstack-api-java
docker compose run --rm chirpstack-api-java
kotlin:
docker-compose run --rm chirpstack-api-kotlin
docker compose run --rm chirpstack-api-kotlin
csharp:
docker-compose run --rm chirpstack-csharp
docker compose run --rm chirpstack-csharp