-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
110 lines (101 loc) · 2.64 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
version: '3'
services:
elasticsearch:
container_name: es-container
image: docker.elastic.co/elasticsearch/elasticsearch:7.11.0
environment:
- xpack.security.enabled=false
- "discovery.type=single-node"
ports:
- 9200:9200
postgres:
container_name: postgres
image: "postgres:9.6"
environment:
POSTGRES_PASSWORD: testing123!
POSTGRES_USER: fewknow
POSTGRES_DB: postgres
volumes:
- ./postgres:/docker-entrypoint-initdb.d
ports:
- "5432:5432"
consul:
image: hashicorp/consul:1.10.1
container_name: consul
volumes:
- consul_data:/bitnami/consul
ports:
- '127.0.0.1:8300:8300'
- '127.0.0.1:8301:8301'
- '127.0.0.1:8301:8301/udp'
- '127.0.0.1:8500:8500'
- '127.0.0.1:8600:8600'
- '127.0.0.1:8600:8600/udp'
vault:
image: hashicorp/vault:1.8.1
hostname: "vault"
container_name: vault
environment:
VAULT_DEV_ROOT_TOKEN_ID: root
VAULT_DEV_LISTEN_ADDRESS: 0.0.0.0:8200
SKIP_SETCAP: 1
privileged: true
restart: always
ports:
- "127.0.0.1:8200:8200"
# rabbit:
# image: "rabbitmq:3-management"
# hostname: "rabbit"
# container_name: Rabbit
# environment:
# RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
# RABBITMQ_DEFAULT_USER: "rabbitmq"
# RABBITMQ_DEFAULT_PASS: "rabbitmq"
# RABBITMQ_DEFAULT_VHOST: "/"
# ports:
# - "15672:15672"
# - "5672:5672"
# labels:
# NAME: "rabbitmq"
# volumes:
# - ./rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins"
#
# #### HERE IF NEEDED to test sending to mail server ######
# # fakesmtp:
# # image: "munkyboy/fakesmtp"
# # hostname: "smtp"
# # container_name: smtp
# # ports:
# # - "2525:25"
# # volumes:
# # - "./fakesmtp/mail:/var/mail"
# # restart: always
#
# logstash:
# image: logstash:7.16.3
# hostname: "logstash"
# configs:
# - source: logstash_config
# target: /usr/share/logstash/config/logstash.yml
# - source: logstash_pipeline
# target: /usr/share/logstash/pipeline/logstash.conf
# ports:
# - "5044:5044"
# - "5000:5000/tcp"
# - "5000:5000/udp"
# - "9600:9600"
# environment:
# LS_JAVA_OPTS: "-Xmx256m -Xms256m"
# configs:
#
# elastic_config:
# file: ./elasticsearch/config/elasticsearch.yml
# logstash_config:
# file: ./logstash/config/logstash.yml
# logstash_pipeline:
# file: ./logstash/pipeline/logstash.conf
# kibana_config:
# file: ./kibana/config/kibana.yml
volumes:
consul_data:
driver: local