-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
27 lines (25 loc) · 1.03 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
version: '2'
services:
bibliomap-enricher:
container_name: bibliomap-enricher
image: ezpaarseproject/bibliomap-enricher:4.1.1
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
NODE_ENV: "production"
DEBUG: ${DEBUG}
BBE_EZPAARSE_URL: ${BBE_EZPAARSE_URL}
BBE_EZPAARSE_PREDEF: ${BBE_EZPAARSE_PREDEF}
BBE_LISTEN_HARVESTER_HOST: ${BBE_LISTEN_HARVESTER_HOST}
BBE_LISTEN_HARVESTER_PORT: ${BBE_LISTEN_HARVESTER_PORT}
BBE_BROADCAST_VIEWER_HOST: ${BBE_BROADCAST_VIEWER_HOST}
BBE_BROADCAST_VIEWER_PORT: ${BBE_BROADCAST_VIEWER_PORT}
working_dir: /app
tty: true # to have nice debug(...) outputs
stdin_open: true # to be able to use CTRL+C to stop the debug
# Restarts when the host server reboot
# or if the nodejs process crashes. NodeJS crashe
# appends at first startup because it needs time for mongodb
# to initialize. (this option replaces the usual forever or pm2 stuff)
restart: unless-stopped