-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
52 lines (51 loc) · 1.2 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
47
48
49
50
51
52
version: '3'
services:
parse-server:
image: parseplatform/parse-server
container_name: z_parse_server
volumes:
- './docker/builds/parse/config/:/parse-server/config/'
- './docker/builds/parse/cloud/:/parse-server/cloud/'
- '/etc/localtime:/etc/localtime:ro'
depends_on:
- mongo
ports:
- '1337:1337'
command: /parse-server/config/config.json
env_file: './.env'
parse-dashboard:
image: parseplatform/parse-dashboard
container_name: z_parse_dashboard
volumes:
- '/etc/localtime:/etc/localtime:ro'
depends_on:
- parse-server
ports:
- '4040:4040'
environment:
PORT: 4040
env_file: './.env'
mongo:
image: mongo
container_name: z_mongo
volumes:
- './docker/volumes/mongo:/data/db'
- '/etc/localtime:/etc/localtime:ro'
env_file: './.env'
web:
build: .
container_name: z_web
env_file: './.env'
volumes:
- dist:/webapp/dist
nginx:
image: nginx
container_name: z_nginx
ports:
- '80:80'
volumes:
- './docker/builds/nginx/default.conf:/etc/nginx/conf.d/default.conf'
- dist:/webapp/dist
env_file: './.env'
volumes:
dist: