docker-compose.yml 781 Bytes
Newer Older
1
version: '3'
J. Fernando Sánchez's avatar
J. Fernando Sánchez committed
2
3
4
5

services:
  sefarad:
    build: .
6
    image: registry.cluster.gsi.dit.upm.es/sefarad/dashboard-gsicrawler
J. Fernando Sánchez's avatar
J. Fernando Sánchez committed
7
8
9
10
    ports:
     - "8080:8080"
    volumes:
     - .:/usr/src/app
11
    environment:
12
13
14
15
16
17
18
19
20
21
22
23
24
25
     - ES_ENDPOINT_EXTERNAL=${ES_ENDPOINT_EXTERNAL-localhost:9200}
     - FUSEKI_ENDPOINT_EXTERNAL=${FUSEKI_ENDPOINT_EXTERNAL-localhost:9300}
    networks:
      - sefarad-network
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:5.4.0
    environment:
      - "discovery.type=single-node"
      - "xpack.security.enabled=false"
      - "http.cors.enabled=true"
      - "http.cors.allow-origin=*"
    ports:
      - "9200:9200"
      - "9300:9300"
26
27
28
29
30
31
    networks:
      - sefarad-network

networks:
  sefarad-network:
    driver: bridge
militarpancho's avatar
militarpancho committed
32

J. Fernando Sánchez's avatar
J. Fernando Sánchez committed
33
volumes:
34
  esdata: