Permalink
Find file Copy path
b6eb920 Oct 2, 2018
1 contributor

Users who have contributed to this file

28 lines (24 sloc) 644 Bytes
version: "2"
services:
appserver:
build:
context: .
dockerfile: Dockerfile-devel
volumes:
- ./:/go/src/github.com/brocaar/lora-app-server
links:
- postgres
- redis
- mosquitto
environment:
- TEST_POSTGRES_DSN=postgres://loraserver_as:loraserver_as@postgres/loraserver_as?sslmode=disable
- TEST_REDIS_URL=redis://redis:6379
- TEST_MQTT_SERVER=tcp://mosquitto:1883
postgres:
image: postgres:9.6-alpine
volumes:
- ./.docker-compose/postgresql/initdb:/docker-entrypoint-initdb.d
redis:
image: redis:4-alpine
mosquitto:
image: eclipse-mosquitto