-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (41 loc) · 808 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (41 loc) · 808 Bytes
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
version: '3'
services:
cezerin2:
image: cezerin2/cezerin2
ports:
- 3001:80
environment:
- DB_HOST=db
- DB_PORT=27017
- DB_NAME=shop
- DB_USER=
- DB_PASS=
volumes:
- ./content-on-host:/var/www/cezerin2/public/content
depends_on:
- db
restart: always
cezerin2-store:
image: cezerin2/cezerin2-store
environment:
- API_BASE_URL=http://cezerin2/api/v1
- AJAX_BASE_URL=http://cezerin2/ajax
ports:
- 3000:80
depends_on:
- cezerin2
restart: always
admin:
image: cezerin2/cezerin2-admin
ports:
- 3002:80
depends_on:
- cezerin2
restart: always
db:
image: mongo:3.4
ports:
- 27017:27017
volumes:
- ./db-on-host:/data/db
restart: always