-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.win.yaml
72 lines (65 loc) · 1.57 KB
/
docker-compose.win.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: '3.1'
# Docker compose file for development.
volumes:
db: {}
uploads: {}
sessions: {}
static: {}
src: {}
services:
mongo:
image: mongo
command: --wiredTigerCacheSizeGB 0.5
expose:
- "27017"
restart: unless-stopped
volumes:
- db:/data/db
mongo-express:
image: mongo-express
restart: unless-stopped
depends_on:
- mongo
ports:
- "8081:8081"
sync:
build: src/docker/sync
restart: unless-stopped
volumes:
- ./src:/dev/src/:consistent
- ./static:/dev/static/:ro
- src:/app/src
- static:/app/static
platform:
build:
context: .
dockerfile: src/docker/dev/Dockerfile
environment:
- NODE_OPTIONS=--max_old_space_size=2048
- REGISTER_CODE=1234
restart: unless-stopped
depends_on:
- 'mongo'
ports:
- "3000:3000"
- "24678:24678"
volumes:
- uploads:/app/uploads
- src:/app/src
- static:/app/static
- sessions:/app/sessions
squib:
build: src/docker/squib
expose:
- "3001"
volumes:
- uploads:/root/work/uploads
restart: unless-stopped
nginx:
build: src/docker/nginx
volumes:
- uploads:/usr/share/nginx/cardographer2/uploads
ports:
- "80:80"
depends_on:
- 'platform'