forked from utlib/VisualCollation
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
64 lines (64 loc) · 1.48 KB
/
Copy pathdocker-compose-dev.yml
File metadata and controls
64 lines (64 loc) · 1.48 KB
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
version: '3.5'
services:
app:
container_name: viscoll_app
image: node:14
volumes:
- ./viscoll-app:/app
working_dir: /app
command: ["bash", "-c", "npm install && npm start"]
ports:
- 3000:3000
depends_on:
- api
stdin_open: true
api:
tty: true
stdin_open: true
env_file: ./.docker-environment-dev
container_name: viscoll_api
image: viscoll-api
build:
context: .
dockerfile: Dockerfile.api
volumes:
- ./viscoll-api:/app
command: bundle exec rails server -p 3001 -b 0.0.0.0
ports:
- 3001:3001
depends_on:
- mongo
- xproc
xproc:
container_name: viscoll_idrovora
image: gremid/idrovora:0.0.2020082920
build:
context: ./vceditor_idrovora
volumes:
- ./vceditor_idrovora/xproc/xpl:/xpl
- ./vceditor_idrovora/xproc/docs:/docs
command: ["--http", "2000",
"--http-context-path", "/xproc",
"--http-doc-root", "/docs",
"--http-cleanup-schedule", "0 0 * * * ?",
"--http-job-max-age", "PT168H",
"/xpl"]
ports:
- 2000:2000
mongo:
container_name: viscoll_mongo
image: mongo:4.0
volumes:
- mongo:/data/db
mongo-express:
container_name: viscoll_mongo_express
image: mongo-express:0.54
ports:
- 127.0.0.1:3002:8081
depends_on:
- mongo
environment:
ME_CONFIG_MONGODB_SERVER: mongo
volumes:
mongo:
name: "viscoll_mongo"