forked from axa-group/Parsr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-build.yml
41 lines (37 loc) · 996 Bytes
/
docker-compose-build.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
version: '3.3'
services:
# parsr-base is the base image with all the dependencies already installed on it
# just build it if you need new dependencies otherwise use the publish one
parsr-base:
image: axarev/parsr-base
build:
context: .
dockerfile: docker/parsr-base/Dockerfile
# parsr API
parsr:
image: axarev/parsr
build:
context: .
dockerfile: docker/parsr/Dockerfile
args:
DEV_MODE: 'true'
ports:
- 3001:3001
environment:
ABBYY_SERVER_URL:
volumes:
- ./pipeline/:/opt/app-root/src/api/server/dist/output
# parsr-ui
# if the API is not running on localhost:3001, you need to rebuild the image with the correct VUE_APP_API variable
parsr-ui:
image: axarev/parsr-ui-localhost
build:
context: .
dockerfile: docker/parsr-ui/Dockerfile
args:
VUE_APP_API: ${VUE_APP_API:-http://localhost:3001}
ports:
- 8080:80
volumes:
pipeline:
driver: local