mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-01-29 15:13:52 +00:00
Updated docker-compose to docker compose (#377)
This commit is contained in:
parent
34ca1c2d6b
commit
5f72db234f
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||
|
6
Makefile
6
Makefile
@ -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:
|
||||
|
@ -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
20
api/Makefile
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user