-
-
Notifications
You must be signed in to change notification settings - Fork 547
/
Copy pathdocker-compose.yml
42 lines (38 loc) · 1.09 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
version: "2"
services:
chirpstack-network-server:
build:
context: .
dockerfile: Dockerfile-devel
command: make serve
volumes:
- ./:/chirpstack-network-server
links:
- postgres
- redis
- mosquitto
- rabbitmq
environment:
- DB_AUTOMIGRATE=true
- NET_ID=010203
- BAND=EU868
- REDIS_URL=redis://redis:6379
- GW_MQTT_SERVER=tcp://mosquitto:1883
- GW_SERVER_JWT_SECRET=verysecret
- POSTGRES_DSN=postgres://chirpstack_ns:chirpstack_ns@postgres/chirpstack_ns?sslmode=disable
- TEST_POSTGRES_DSN=postgres://chirpstack_ns:chirpstack_ns@postgres/chirpstack_ns?sslmode=disable
- TEST_REDIS_SERVERS=redis:6379
- TEST_MQTT_SERVER=tcp://mosquitto:1883
- TEST_RABBITMQ_URL=amqp://guest:guest@rabbitmq:5672/
postgres:
image: postgres:13-alpine
environment:
- POSTGRES_PASSWORD=chirpstack_ns
- POSTGRES_USER=chirpstack_ns
- POSTGRES_DB=chirpstack_ns
redis:
image: redis:6-alpine
mosquitto:
image: eclipse-mosquitto:1.6
rabbitmq:
image: rabbitmq:3-alpine