-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
180 lines (165 loc) · 3.85 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
services:
rabbitmq:
image: rabbitmq:management
container_name: dc-rabbitmq
environment:
RABBITMQ_DEFAULT_USER: scothtiger
RABBITMQ_DEFAULT_PASS: 123456
ports:
- "5672:5672"
- "15672:15672"
networks:
- dc-network
redis:
image: redis:latest
container_name: dc-redis
ports:
- "6379:6379"
networks:
- dc-network
localstack:
image: localstack/localstack:latest
container_name: dc-localstack
ports:
- "4566:4566"
- "4571:4571"
environment:
- SERVICES=secretsmanager
- DEBUG=1
- DATA_DIR=/var/lib/localstack/data
volumes:
- localstack_data:/var/lib/localstack
networks:
- dc-network
baget:
image: loicsharma/baget:latest
container_name: dc-baget
ports:
- "5000:80"
environment:
- Baget__Database__Type=Sqlite
- Baget__Database__ConnectionString=Data Source=/var/baget/baget.db
- Baget__Storage__Type=FileSystem
- Baget__Storage__Path=/var/baget/packages
volumes:
- baget_data:/var/baget
networks:
- dc-network
postgres:
image: postgres:latest
container_name: dc-postgres
environment:
POSTGRES_USER: johndoe
POSTGRES_PASSWORD: somew0rds
POSTGRES_DB: GamersWorldDb
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgres/data
networks:
- dc-network
pgadmin:
image: dpage/pgadmin4:latest
container_name: dc-pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: 123456
ports:
- "5050:80"
depends_on:
- postgres
networks:
- dc-network
consul:
image: hashicorp/consul:latest
container_name: dc-consul
ports:
- '8500:8500'
networks:
- dc-network
ftp-server:
image: delfer/alpine-ftp-server
container_name: dc-ftp-server
ports:
- "21:21"
- "21000-21010:21000-21010"
environment:
FTP_USER: "userone"
FTP_PASS: "123"
PASV_MIN_PORT: 21000
PASV_MAX_PORT: 21010
volumes:
- ftp_data:/home/ftpuser/ftp_data
networks:
- dc-network
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.14.3
container_name: dc-elasticsearch
environment:
- xpack.security.enabled=false
- xpack.security.enrollment.enabled=false
- discovery.type=single-node
ports:
- "9200:9200"
- "9300:9300"
volumes:
- es_data:/usr/share/elasticsearch/data
networks:
- dc-network
kibana:
image: docker.elastic.co/kibana/kibana:8.14.3
container_name: dc-kibana
ports:
- "5601:5601"
environment:
XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY: 9939746F-B0B9-49C2-BB04-B695241D4881
depends_on:
- elasticsearch
networks:
- dc-network
audit-web-api:
image: systemhal/evalapi
container_name: dc-audit-web-api
ports:
- "5147:8080"
networks:
- dc-network
prometheus:
image: prom/prometheus:latest
container_name: dc-prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
networks:
- dc-network
extra_hosts:
- "host.docker.internal:host-gateway" # Added for accessing localhost metric servers
grafana:
image: grafana/grafana:latest
container_name: dc-grafana
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=123456
volumes:
- grafana-storage:/var/lib/grafana
networks:
- dc-network
sonarqube:
image: sonarqube:latest
container_name: dc-sonarqube
environment:
SONAR_ES_BOOTSTRAP_CHECKS_DISABLE: "true"
ports:
- "9000:9000"
networks:
- dc-network
volumes:
localstack_data:
baget_data:
postgres_data:
ftp_data:
es_data:
grafana-storage:
networks:
dc-network:
driver: bridge