stack-orchestrator/docker-compose-test.yaml

37 lines
698 B
YAML
Raw Normal View History

2022-08-04 02:37:16 +00:00
version: '3'
services:
# Postgresql DB
db:
image: timescale/timescaledb:latest-pg14
command: -c work_mem=256MB
restart: unless-stopped
environment:
POSTGRES_PASSWORD: db
POSTGRES_USER: db
POSTGRES_DB: db
POSTGRES_HOST_AUTH_METHOD: trust
ports:
# Postgresql
- "5432"
# Elastic
es:
restart: unless-stopped
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0
environment:
- xpack.security.enabled=false
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
cap_add:
- IPC_LOCK
ports:
- 9200