forked from open-eats/OpenEats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-prod.yml
44 lines (44 loc) · 937 Bytes
/
docker-prod.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: '2.3'
services:
dockerhost:
image: qoomon/docker-host
cap_add:
- NET_ADMIN
- NET_RAW
restart: on-failure
api:
build: openeats-api/
command: /startup/prod-entrypoint.sh
restart: on-failure
volumes:
- static-files:/code/static-files
- site-media:/code/site-media
depends_on:
- dockerhost
env_file:
env_prod.list
web:
build: openeats-web/
command: yarn start
depends_on:
- api
volumes:
- public-ui:/code/build
env_file:
env_prod.list
nginx:
build: openeats-nginx/
command: ./start.sh
volumes:
- static-files:/var/www/html/openeats-static/static-files
- site-media:/var/www/html/openeats-static/site-media
- public-ui:/var/www/html/openeats-static/public-ui
depends_on:
- api
- web
env_file:
env_prod.list
volumes:
public-ui:
static-files:
site-media: