-
-
Notifications
You must be signed in to change notification settings - Fork 326
/
docker-compose.yml
51 lines (46 loc) · 1.33 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: "2"
services:
chirpstack-application-server:
build:
context: .
dockerfile: Dockerfile-devel
volumes:
- ./:/chirpstack-application-server
# - ../chirpstack-api:/chirpstack-api
links:
- postgres
- redis
- mosquitto
- rabbitmq
- zookeeper
- kafka
environment:
- TEST_POSTGRES_DSN=postgres://chirpstack_as:chirpstack_as@postgres/chirpstack_as?sslmode=disable
- TEST_POSTGRES_INTEGRATION_DSN=postgres://chirpstack_integration:chirpstack_integration@postgres/chirpstack_integration?sslmode=disable
- TEST_REDIS_SERVERS=redis:6379
- TEST_MQTT_SERVER=tcp://mosquitto:1883
- TEST_RABBITMQ_URL=amqp://guest:guest@rabbitmq:5672/
- TEST_KAFKA_BROKER=kafka:9092
postgres:
image: postgres:13-alpine
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- ./.docker-compose/postgresql/initdb:/docker-entrypoint-initdb.d
redis:
image: redis:6-alpine
mosquitto:
image: eclipse-mosquitto:1.6
rabbitmq:
image: rabbitmq:3-alpine
zookeeper:
image: 'bitnami/zookeeper:3'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:
image: 'bitnami/kafka:2'
environment:
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
- ALLOW_PLAINTEXT_LISTENER=yes
depends_on:
- zookeeper