-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (43 loc) · 1.08 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
# This compose file is used only for local development.
version: '3.5'
services:
bluetooth-client:
container_name: bluetooth-client
build: client
environment:
API_URL: "http://localhost:3001"
TILE_URL: "http://localhost:8000"
ports:
- "8080:8080"
volumes:
- ./client:/client
- /client/node_modules # do not mix our node_modules with the one in container
bluetooth-auth-server:
container_name: bluetooth-auth-server
build: auth-server
environment:
INITIAL_LATITUDE: 60.205048
INITIAL_LONGITUDE: 24.962054
INITIAL_ZOOM: 18
MINIMUM_ZOOM: 9
WEB_MQTT_URL: ws://localhost:9001/mqtt
SERVER_MQTT_URL: mqtt://mqtt
JWT_SECRET: secret
ADMIN_USER: admin
ADMIN_PASSWORD: "#Apollo11"
ports:
- "3001:3001"
networks:
- ubimaps
volumes:
- ./auth-server:/auth-server
- /auth-server/node_modules
bluetooth-tile-server:
build: maptiles
container_name: bluetooth-tileserver
ports:
- "8000:80"
networks:
ubimaps:
name: ubimaps
driver: bridge