version: "2"
services:
  chirpstack-api-rust:
    build:
      context: .
      dockerfile: Dockerfile-rust
    command: bash -c "cd rust && make all"
    volumes:
      - ./:/chirpstack/api
  chirpstack-api-python:
    build:
      context: .
      dockerfile: Dockerfile-python
    command: bash -c "cd python && make all"
    volumes:
      - ./:/chirpstack/api
  chirpstack-api-md:
    build:
      context: .
      dockerfile: Dockerfile-md
    command: bash -c "cd md && make all"
    volumes:
      - ./:/chirpstack/api
  chirpstack-api-java:
    build:
      context: .
      dockerfile: Dockerfile-java
    command: bash -c "cd java && make all"
    volumes:
      - ./:/chirpstack/api
  chirpstack-api-kotlin:
    build:
      context: .
      dockerfile: Dockerfile-kotlin
    command: bash -c "cd kotlin && make all"
    volumes:
      - ./:/chirpstack/api
  chirpstack-csharp:
    build:
      context: .
      dockerfile: Dockerfile-csharp
    command: bash -c "cd csharp && make all"
    volumes:
      - ./:/chirpstack/api
  chirpstack-api-php:
    build:
      context: .
      dockerfile: Dockerfile-php
    command: bash -c "cd php && make all"
    volumes:
      - ./:/chirpstack/api
  chirpstack-api-c:
    build:
      context: .
      dockerfile: Dockerfile-c
    command: bash -c "cd c && make all"
    volumes:
      - ./:/chirpstack/api
