-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
49 lines (45 loc) · 1.75 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
38
39
40
41
42
43
44
45
46
47
48
49
version: '3.1'
# Docker compose File for Esquite-docker v0.1
services:
app:
image: elotlmx/esquite
hostname: esquite-app
restart: unless-stopped
ports:
- "80:80"
volumes:
# - ${PWD}/Esquite:/home/elotl/Esquite # Uncomment to use a local copy under ./build/Esquite
- ${PWD}/logs/esquite-docker.log:/home/elotl/esquite-docker.log
- ${PWD}/logs/nginx:/var/log/nginx
- ${PWD}/build:/home/elotl/Esquite-docker/build
- ${PWD}/build/entrypoint.sh:/entrypoint-esquite.sh
- ${PWD}/build/esquite-nginx.conf.template:/etc/nginx/conf.d/default.conf
environment:
- CFG_CORPUS_ADMIN_PASS=elotl # Change admin password
# CFG_UPDATE option will update Esquite whenever the container is
# restarted. This will happen only if there is a new Esquite version
# available on Github.
# ** WARNING **: If any of the Esquite core files is modified, this
# option may overwrite your local changes. Use with caution.
#- CFG_UPDATE_ON_BOOT=YES
- CFG_L1=Lengua1
- CFG_L2=Lengua2
- CFG_NAME=Esquite-Elotl
- CFG_ORG_NAME=Esquite-Elotl
- CFG_BLOG=https://elotl.mx/blog/
- CFG_FACEBOOK=https://www.facebook.com/comunidadelotl
- CFG_SITE=https://elotl.mx
- CFG_TWITTER=https://twitter.com/elotlmx/
- CFG_META_DESC=Esquite Framework | Corpus Paralelos
# - CFG_GOOGLE_ANALYTICS= # If needed use your Google Analytics ID
- CFG_INDEX=default # Default index name
#- CFG_URL=http://HOST:PORT # ElasticSearch URL
elasticsearch:
image: elasticsearch:7.10.1
hostname: esquite-elasticsearch
restart: unless-stopped
environment:
- discovery.type=single-node
depends_on:
- "app"