2022-01-04 08:42:12 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
|
|
consul-agent-1: &consul-agent
|
|
|
|
|
image: consul:latest
|
|
|
|
|
networks:
|
|
|
|
|
- consul
|
|
|
|
|
command: "agent -retry-join consul-server-bootstrap -client 0.0.0.0"
|
|
|
|
|
|
|
|
|
|
consul-agent-2:
|
|
|
|
|
<<: *consul-agent
|
|
|
|
|
|
|
|
|
|
consul-agent-3:
|
|
|
|
|
<<: *consul-agent
|
|
|
|
|
|
|
|
|
|
consul-server-1: &consul-server
|
|
|
|
|
<<: *consul-agent
|
|
|
|
|
command: "agent -server -retry-join consul-server-bootstrap -client 0.0.0.0"
|
|
|
|
|
|
|
|
|
|
consul-server-2:
|
|
|
|
|
<<: *consul-server
|
|
|
|
|
|
|
|
|
|
consul-server-bootstrap:
|
|
|
|
|
<<: *consul-agent
|
|
|
|
|
ports:
|
|
|
|
|
- "8400:8400"
|
|
|
|
|
- "8500:8500"
|
|
|
|
|
- "8600:8600"
|
|
|
|
|
- "8600:8600/udp"
|
|
|
|
|
command: "agent -server -bootstrap-expect 3 -ui -client 0.0.0.0"
|
2024-03-24 19:28:19 +00:00
|
|
|
|
2022-03-21 10:41:27 +00:00
|
|
|
sqlserver:
|
|
|
|
|
image: "mcr.microsoft.com/mssql/server:2019-latest"
|
|
|
|
|
ports:
|
|
|
|
|
- "3433:1433"
|
|
|
|
|
environment:
|
|
|
|
|
SA_PASSWORD: "Elsa2022!"
|
|
|
|
|
ACCEPT_EULA: "Y"
|
|
|
|
|
volumes:
|
|
|
|
|
- c:\data\docker\sqlserver2019:/var/opt/mssql/data
|
2024-03-24 19:28:19 +00:00
|
|
|
|
2024-02-14 10:39:29 +00:00
|
|
|
postgres:
|
|
|
|
|
image: postgres:13.3-alpine
|
|
|
|
|
container_name: elsa3-postgres
|
|
|
|
|
environment:
|
2024-03-24 19:28:19 +00:00
|
|
|
POSTGRES_USER: elsa
|
|
|
|
|
POSTGRES_PASSWORD: elsa
|
|
|
|
|
POSTGRES_DB: elsa
|
2024-02-14 10:39:29 +00:00
|
|
|
ports:
|
|
|
|
|
- "5432:5432"
|
|
|
|
|
volumes:
|
2024-03-24 19:28:19 +00:00
|
|
|
- pgdata-3:/var/lib/postgresql/data
|
2022-01-04 08:42:12 +00:00
|
|
|
|
|
|
|
|
mongodb:
|
|
|
|
|
image: mongo:latest
|
|
|
|
|
ports:
|
2022-03-21 10:41:27 +00:00
|
|
|
- "127.0.0.1:27017:27017"
|
2022-01-04 08:42:12 +00:00
|
|
|
volumes:
|
|
|
|
|
- mongodb_data:/data/db
|
2024-03-24 19:28:19 +00:00
|
|
|
|
2023-06-03 10:28:10 +00:00
|
|
|
mysql:
|
|
|
|
|
image: arm64v8/mysql
|
|
|
|
|
restart: always
|
|
|
|
|
environment:
|
|
|
|
|
MYSQL_DATABASE: 'elsa'
|
|
|
|
|
MYSQL_USER: 'user'
|
|
|
|
|
MYSQL_PASSWORD: 'password'
|
|
|
|
|
MYSQL_ROOT_PASSWORD: 'password'
|
|
|
|
|
ports:
|
|
|
|
|
- '3306:3306'
|
|
|
|
|
expose:
|
|
|
|
|
- '3306'
|
2022-01-04 08:42:12 +00:00
|
|
|
|
|
|
|
|
redis:
|
|
|
|
|
image: redis:latest
|
|
|
|
|
ports:
|
2022-03-21 10:41:27 +00:00
|
|
|
- "127.0.0.1:6379:6379"
|
2024-03-24 19:28:19 +00:00
|
|
|
|
2023-01-04 14:28:28 +00:00
|
|
|
rabbitmq:
|
|
|
|
|
image: "rabbitmq:3-management"
|
|
|
|
|
ports:
|
|
|
|
|
- "15672:15672"
|
|
|
|
|
- "5672:5672"
|
2024-03-24 19:28:19 +00:00
|
|
|
|
2023-01-13 18:10:20 +00:00
|
|
|
elasticsearch:
|
|
|
|
|
image: "docker.elastic.co/elasticsearch/elasticsearch:8.5.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
|
|
|
|
|
volumes:
|
|
|
|
|
- elasticsearch-data:/usr/share/elasticsearch/data
|
|
|
|
|
ports:
|
|
|
|
|
- "9200:9200"
|
|
|
|
|
- "9300:9300"
|
|
|
|
|
|
|
|
|
|
kibana:
|
|
|
|
|
image: "docker.elastic.co/kibana/kibana:8.5.0"
|
|
|
|
|
environment:
|
|
|
|
|
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
|
|
|
|
|
ports:
|
|
|
|
|
- "5601:5601"
|
|
|
|
|
depends_on:
|
|
|
|
|
- elasticsearch
|
2024-03-24 19:28:19 +00:00
|
|
|
|
2023-04-18 20:14:18 +00:00
|
|
|
smtp4dev:
|
|
|
|
|
image: rnwood/smtp4dev:3.1.3-ci20211206101
|
|
|
|
|
ports:
|
2023-04-24 11:43:14 +00:00
|
|
|
- "4000:80"
|
2023-04-18 20:14:18 +00:00
|
|
|
- "2525:25"
|
2024-03-24 19:28:19 +00:00
|
|
|
|
2022-01-04 08:42:12 +00:00
|
|
|
networks:
|
|
|
|
|
consul:
|
|
|
|
|
|
|
|
|
|
volumes:
|
2023-01-13 18:10:20 +00:00
|
|
|
mongodb_data:
|
2024-03-24 19:28:19 +00:00
|
|
|
pgdata-3:
|
2023-01-13 18:10:20 +00:00
|
|
|
elasticsearch-data:
|
|
|
|
|
driver: local
|