forked from brocaar/chirpstack-application-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
34 lines (30 loc) · 828 Bytes
/
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
version: "2"
services:
chirpstack-application-server:
build:
context: .
dockerfile: Dockerfile-devel
volumes:
- ./:/chirpstack-application-server
links:
- postgres
- redis
- mosquitto
- rabbitmq
environment:
- TEST_POSTGRES_DSN=postgres://chirpstack_as:chirpstack_as@postgres/chirpstack_as?sslmode=disable
- TEST_REDIS_URL=redis://redis:6379
- TEST_MQTT_SERVER=tcp://mosquitto:1883
- TEST_RABBITMQ_URL=amqp://guest:guest@rabbitmq:5672/
postgres:
image: postgres:9.6-alpine
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- ./.docker-compose/postgresql/initdb:/docker-entrypoint-initdb.d
redis:
image: redis:4-alpine
mosquitto:
image: eclipse-mosquitto
rabbitmq:
image: rabbitmq:3-alpine