-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-tools.yml
51 lines (48 loc) · 1.48 KB
/
docker-compose-tools.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
50
51
networks:
cslant_blog:
external: true
volumes:
pgadmin:
driver: local
services:
## DATABASE ADMINISTRATION
pgadmin:
container_name: "${COMPOSE_PROJECT_NAME:-blog}-pgadmin"
image: dpage/pgadmin4
networks:
- cslant_blog
ports:
- "${PGADMIN_HOST_PORT:-5050}:80"
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD}
PGADMIN_SETUP_EMAIL: ${PGADMIN_DEFAULT_EMAIL}
PGADMIN_SETUP_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD}
PGADMIN_CONFIG_SERVER_MODE: 'True'
PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION: 'False'
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
PGADMIN_LISTEN_PORT: 80
volumes:
- pgadmin:/var/lib/pgadmin
## KIBANA SERVICE
kibana:
image: docker.elastic.co/kibana/kibana:${ELASTIC_STACK_VERSION:-8.14.3}
container_name: "${COMPOSE_PROJECT_NAME}-kibana"
environment:
- node.name=kibana
- cluster.name=elasticsearch-cluster
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
- ELASTICSEARCH_URL=http://elasticsearch:9200
- ELASTICSEARCH_USERNAME=kibana_system
- ELASTICSEARCH_PASSWORD=${KIBANA_PASSWORD:-changeme}
ports:
- "${KIBANA_PORT:-5601}:5601"
depends_on:
- elasticsearch
healthcheck:
test: [ "CMD-SHELL", "curl -s -I http://localhost:5601 | grep -q 'HTTP/1.1 302 Found'" ]
interval: 30s
timeout: 5s
retries: 3
networks:
- cslant_blog