-
Notifications
You must be signed in to change notification settings - Fork 25
/
docker-compose.yml
44 lines (41 loc) · 1.05 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
version: '3.8'
services:
web:
image: projectsidewalk/web
container_name: projectsidewalk-web
build:
context: ./
shm_size: '256mb'
depends_on:
- db
volumes:
- "./:/home/:delegated"
- "/home/node_modules"
ports:
- "9000:9000"
platform: linux/x86_64
# platform: linux/arm64
environment:
- DATABASE_USER=sidewalk
- SIDEWALK_CITY_ID=DUMMY_CITY_ID
- MAPBOX_API_KEY=DUMMY_MAPBOX_API_KEY
- GOOGLE_MAPS_API_KEY=DUMMY_GOOGLE_API_KEY
- GOOGLE_MAPS_SECRET=DUMMY_GOOGLE_SECRET
- SCISTARTER_API_KEY=DUMMY_SCISTARTER_API_KEY
- INTERNAL_API_KEY=DUMMY_INTERNAL_API_KEY
- SIDEWALK_HTTP_PORT=9000
- ENV_TYPE=test
db:
image: projectsidewalk/db
container_name: projectsidewalk-db
build:
context: ./db/
shm_size: '512mb'
volumes:
- "./db/scripts/init.sh:/docker-entrypoint-initdb.d/scripts/init.sh"
- "./db:/opt"
ports:
- "5432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=sidewalk