wowstash/docker-compose.yaml

42 lines
985 B
YAML
Raw Normal View History

2020-08-21 07:39:59 +00:00
version: '3'
volumes:
grafana:
2020-08-21 07:39:59 +00:00
services:
db:
image: postgres:9.6.15-alpine
container_name: wowstash_db
2020-08-21 07:39:59 +00:00
ports:
- 5433:5432
2020-08-21 07:39:59 +00:00
environment:
POSTGRES_PASSWORD: ${DB_PASS}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_NAME}
2020-08-22 19:34:02 +00:00
volumes:
2020-08-25 20:16:14 +00:00
- ./data/postgresql:/var/lib/postgresql/data
2020-08-22 19:34:02 +00:00
cache:
2020-08-21 07:39:59 +00:00
image: redis:latest
container_name: wowstash_cache
2020-08-21 07:39:59 +00:00
ports:
- 6379:6379
kibana:
image: docker.elastic.co/kibana/kibana:7.1.0
ports:
- 5601:5601
environment:
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.1.0
environment:
- discovery.type=single-node
- node.name=elasticsearch
- cluster.name=es-docker-cluster
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./data/elasticsearch:/usr/share/elasticsearch/data
ports:
- 9200:9200