forked from geonetwork/core-geonetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (42 loc) · 1.1 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'
volumes:
geonetwork:
services:
geonetwork:
image: geonetwork:3.99.0
restart: always
ports:
- 8080:8080
environment:
DATA_DIR: /var/lib/geonetwork_data
ES_HOST: elasticsearch
ES_PROTOCOL: http
ES_PORT: 9200
KB_URL: http://kibana:5601
# Note: defining the following variable will activate the postgresql
# configuration and will require an external database (see the database
# service below)
POSTGRES_DB_HOST: database
POSTGRES_DB_NAME: geonetwork
POSTGRES_DB_USERNAME: geonetwork
POSTGRES_DB_PASSWORD: geonetwork
volumes:
- geonetwork:/var/lib/geonetwork_data
depends_on:
- kibana
- elasticsearch
- database
elasticsearch:
image: elasticsearch:7.6.2
environment:
discovery.type: single-node
kibana:
image: kibana:7.6.2
volumes:
- ./kibana/kibana.yml:/usr/share/kibana/config/kibana.yml
database:
image: mdillon/postgis
environment:
POSTGRES_USER: geonetwork
POSTGRES_PASSWORD: geonetwork
POSTGRES_DB: geonetwork