forked from ezpaarse-project/ezmesure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.debug.yml
124 lines (117 loc) · 3.49 KB
/
docker-compose.debug.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: '2.4'
services:
elastic:
extends:
file: docker-compose.yml
service: elastic
kibana:
extends:
file: docker-compose.yml
service: kibana
rp:
extends:
file: docker-compose.yml
service: rp
redis:
image: redis:6.2.6-alpine3.15
command: --requirepass "${EZMESURE_REDIS_PASSWORD:-changeme}"
ports:
- 6379:6379
restart: unless-stopped
api:
image: node:14.17.1
ports:
- 3000:3000
volumes:
- "./api:/usr/src/app"
- "${EZMESURE_API_STORAGE_DIR:-./data/api/storage}:/usr/src/app/storage"
- "${EZMESURE_API_UPLOADS_DIR:-./data/api/uploads}:/usr/src/app/uploads"
- "./templates:/usr/src/app/templates"
working_dir: /usr/src/app
environment:
- http_proxy
- https_proxy
- no_proxy=localhost,kibana
- EZMESURE_ELASTIC_HOST=${EZMESURE_ELASTIC_HOST:-elastic}
- EZMESURE_ELASTIC_PORT=${EZMESURE_ELASTIC_PORT:-9200}
- EZMESURE_KIBANA_HOST=${EZMESURE_KIBANA_HOST:-kibana}
- EZMESURE_KIBANA_PORT=${EZMESURE_KIBANA_PORT:-5601}
- EZMESURE_REDIS_HOST=${EZMESURE_REDIS_HOST:-redis}
- EZMESURE_REDIS_PASSWORD=${EZMESURE_REDIS_PASSWORD:-changeme}
- EZMESURE_HARVEST_CONCURRENCY
- ELASTICSEARCH_PASSWORD
- KIBANA_PASSWORD
- EZMESURE_ADMIN_USERNAME
- EZMESURE_ADMIN_PASSWORD
- EZMESURE_ADMIN_EMAIL
- EZMESURE_AUTH_SECRET
- EZMESURE_SMTP_HOST=maildev
- EZMESURE_SMTP_PORT=25
- EZMESURE_SMTP_SECURE=false
- EZMESURE_SMTP_IGNORE_TLS=true
- EZMESURE_SMTP_REJECT_UNAUTHORIZED
- EZMESURE_NOTIFICATIONS_SENDER
- EZMESURE_NOTIFICATIONS_CRON
- EZMESURE_NOTIFICATIONS_RECIPIENTS
- EZMESURE_NOTIFICATIONS_SUPPORT_RECIPIENTS
- EZMESURE_SEND_EMPTY_ACTIVITY
- EZMESURE_ENCRYPTION_SECRET
- NODE_ENV
- NODE_CONFIG
restart: "no"
command: npm run dev
front:
image: node:14.17.1-alpine3.13
ports:
- 8080:8080
volumes:
- "./front:/usr/src/app"
working_dir: /usr/src/app
environment:
- API_URL=https://${EZMESURE_DOMAIN}/api
- EZMESURE_DISABLE_SHIBBOLETH
- HOST=0.0.0.0
- PORT=8080
command: npm run dev
restart: "no"
# reporting:
# build:
# context: ./reporting
# args:
# - http_proxy
# - https_proxy
# ports:
# - 4000:3000
# volumes:
# - "./reporting/logs:/usr/src/app/logs"
# - "./reporting/tmp:/usr/src/app/tmp"
# - "./reporting:/usr/src/app"
# - "./templates:/usr/src/app/templates"
# working_dir: /usr/src/app
# environment:
# - NODE_ENV=development
# - http_proxy
# - https_proxy
# - no_proxy=localhost,rp
# - REPORTING_PORT=3000
# - REPORTING_ELASTIC_HOST=${EZMESURE_ELASTIC_HOST:-elastic}
# - REPORTING_ELASTIC_PORT=${EZMESURE_ELASTIC_PORT:-9200}
# - REPORTING_SMTP_HOST=maildev
# - REPORTING_SMTP_PORT=25
# - REPORTING_SMTP_SECURE=false
# - REPORTING_SMTP_IGNORE_TLS=true
# - REPORTING_SMTP_REJECT_UNAUTHORIZED
# - REPORTING_SENDER
# - REPORTING_INDEX=.ezreporting
# - REPORTING_FREQUENCIES
# - KIBANA_INTERNAL_URL=${KIBANA_INTERNAL_URL:-https://rp/kibana}
# - KIBANA_EXTERNAL_URL
# - NODE_CONFIG
# - REPORTING_ELASTIC_USER=${ELASTICSEARCH_USERNAME}
# - REPORTING_ELASTIC_PASSWORD=${ELASTICSEARCH_PASSWORD}
# restart: "no"
# command: npm run dev
maildev:
image: djfarrelly/maildev
ports:
- 1080:80