-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
49 lines (45 loc) · 978 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3.8'
services:
postgres:
image: postgres:13
container_name: postgres
ports:
- 5432:5432
environment:
POSTGRES_USER: dbadmin
POSTGRES_PASSWORD: dbadmin
geofence:
build: ./geofence/
container_name: geofence-service
ports:
- 8081:8081
environment:
PORT: 8081
CORS_ALLOWED_ORIGINS: '*'
NOTIFICATION_URL: http://notification:8082/event
TILE38_HOST: http://tile38
TILE38_PORT: 9851
CITY: istanbul
depends_on:
- postgres
notification:
build: ./notification/
container_name: notification-service
ports:
- 8082:8082
environment:
PORT: 8082
DB_HOST: postgres
DB_PORT: 5432
DB_NAME: 'postgres'
DB_SCHEMA: 'public'
DB_USER: dbadmin
DB_USER_PASSWORD: dbadmin
depends_on:
- postgres
tile38:
image: tile38/tile38
container_name: tile38
restart: always
ports:
- '9851:9851'