-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 1.01 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
version: "3.6"
services:
cron:
build: cron-retrieval
container_name: wow_cron
environment:
- WOW_SECRET=${WOW_SECRET}
- WOW_ID=${WOW_ID}
angular:
build: frontend
restart: always
environment:
- TZ=UTC
- PRODUCTION=${PRODUCTION:-false}
- APP_DOMAIN=${APP_DOMAIN:-wow.webynav.com}
- APP_DOMAIN_DEV=${APP_DOMAIN_DEV:-localhost}
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.4.0
container_name: wow_db
restart: always
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "http.cors.enabled=true"
- "http.cors.allow-origin=\"*\""
- "http.cors.allow-methods=OPTIONS, HEAD, GET, POST, PUT, DELETE"
- "http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type, Content-Length"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata:/usr/share/elasticsearch/data
volumes:
esdata:
driver: local