-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-env.yml
57 lines (49 loc) · 1.74 KB
/
docker-compose-env.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
52
53
54
55
56
57
version: "3"
services:
chirpstack-network-server:
image: chirpstack/chirpstack-network-server:3
environment:
- POSTGRESQL__DSN=postgres://chirpstack_ns:chirpstack_ns@postgresql/chirpstack_ns?sslmode=disable
- REDIS__URL=redis://redis:6379
- NETWORK_SERVER__BAND__NAME=EU868
- NETWORK_SERVER__GATEWAY__BACKEND__MQTT__SERVER=tcp://mosquitto:1883
- JOIN_SERVER__DEFAULT__SERVER=http://chirpstack-application-server:8003
- GEOLOCATION_SERVER__SERVER=chirpstack-geolocation-server:8005
chirpstack-application-server:
image: chirpstack/chirpstack-application-server:3
ports:
- 8080:8080
environment:
- POSTGRESQL__DSN=postgres://chirpstack_as:chirpstack_as@postgresql/chirpstack_as?sslmode=disable
- REDIS__URL=redis://redis:6379
- APPLICATION_SERVER__INTEGRATION__MQTT__SERVER=tcp://mosquitto:1883
- APPLICATION_SERVER__API__PUBLIC_HOST=chirpstack-application-server:8001
- APPLICATION_SERVER__EXTERNAL_API__JWT_SECRET=verysecret
chirpstack-gateway-bridge:
image: chirpstack/chirpstack-gateway-bridge:3
ports:
- 1700:1700/udp
environment:
- INTEGRATION__MQTT__AUTH__GENERIC__SERVERS=tcp://mosquitto:1883
chirpstack-geolocation-server:
image: chirpstack/chirpstack-geolocation-server:3
environment:
- GEO_SERVER__BACKEND__NAME=collos
postgresql:
image: postgres:9.6-alpine
environment:
- POSTGRES_PASSWORD=root
volumes:
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
- postgresqldata:/var/lib/postgresql/data
redis:
image: redis:5-alpine
volumes:
- redisdata:/data
mosquitto:
image: eclipse-mosquitto
ports:
- 1883:1883
volumes:
postgresqldata:
redisdata: