-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (49 loc) · 1.13 KB
/
docker-compose.yml
File metadata and controls
49 lines (49 loc) · 1.13 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
41
42
43
44
45
46
47
48
49
version: '3'
services:
nginx:
image: "nginx:alpine"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- service
- kibana
ports:
- "80:80"
service:
build:
context: ./
depends_on:
- database
- elasticsearch
database:
image: "postgres:alpine"
environment:
- POSTGRES_DB=app
- POSTGRES_USER=app
- POSTGRES_PASSWORD=omega32
volumes:
- dbdatavol:/var/lib/postgresql/data
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.0"
volumes:
- ./elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
kibana:
image: "docker.elastic.co/kibana/kibana-oss:6.1.0"
volumes:
- ./kibana/:/usr/share/kibana/config:ro
depends_on:
- elasticsearch
# pgadmin:
# image: "dpage/pgadmin4"
# depends_on:
# - database
# ports:
# - "5000:80"
# environment:
# - PGADMIN_DEFAULT_EMAIL=hans@kilianconsult.dk
# - PGADMIN_DEFAULT_PASSWORD=omega32
volumes:
dbdatavol:
driver: local