-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-dev.yml
78 lines (69 loc) · 1.66 KB
/
docker-compose-dev.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Please refer the DockerREADME.md file
# for the details regarding this docker-compose file
version: "3.3"
networks:
default:
driver: overlay
attachable: true
front-tier:
back-tier:
attachable: true
services:
anemocppserver:
image: anemomind/anemomind_anemocppserver:${TAG:-latest}
volumes:
- "./www2/uploads:/db/uploads"
networks:
- back-tier
restart: unless-stopped
environment:
- WAIT_HOSTS=anemomongo:27017
- MONGO_URL=mongodb://anemomongo/anemomind-dev
command: /anemomind/bin/run_from_cron.sh
links:
- anemomongo
depends_on:
- anemomongo
anemowebapp:
image: anemomind/web_dev:${TAG:-latest}
ports:
- "9001:9001"
- "35729:35729"
volumes:
- "./nodemodules:/anemomind/nodemodules"
- "./www2:/anemomind/www2"
- "./datasets:/anemomind/datasets"
- "/tmp/home:/home"
networks:
- front-tier
- back-tier
restart: unless-stopped
command: ./grunt.sh serve:dev
environment:
- PORT=9001
- WAIT_HOSTS=anemomongo:27017
- MONGO_URL=mongodb://anemomongo/anemomind-dev
- JWT_SECRET=${JWT_SECRET:-NOT_SECURE_AT_ALL_123}
- USE_GS=false # store on filesystem
- SKIP_OPEN_BROWSER=1
- HOME=/home
- LD_LIBRARY_PATH=/anemomind/lib
user: ${USER_ID}
links:
- anemomongo
depends_on:
- anemomongo
- anemocppserver
anemomongo:
image: mongo:4.2.5-bionic
container_name: anemomongo
volumes:
- "db-data:/data/db"
ports:
- "27017:27017"
networks:
- back-tier
restart: unless-stopped
volumes:
boat_logs:
db-data: