forked from ezpaarse-project/ezpaarse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (34 loc) · 1 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
# ezpaarse docker-compose.yml dedicated to production
version: '3'
services:
ezpaarse:
container_name: ezpaarse
image: ezpaarseproject/ezpaarse:3.9.4
build:
context: .
args:
- http_proxy
- https_proxy
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
NODE_ENV: "production"
EZPAARSE_MONGO_URL: "mongodb://ezpaarse_db:27017/ezpaarse"
volumes:
- ./platforms:/opt/ezpaarse/platforms
- ./middlewares:/opt/ezpaarse/middlewares
- ./resources:/opt/ezpaarse/resources
- ./exclusions:/opt/ezpaarse/exclusions
- ./config.local.json:/opt/ezpaarse/config.local.json
tty: true # to have nice debug(...) outputs
stdin_open: true # to be able to use CTRL+C to stop the container
ports:
- 59599:59599
depends_on:
- ezpaarse_db
restart: unless-stopped
ezpaarse_db:
container_name: ezpaarse_db
image: mongo:3.6.23
restart: unless-stopped