-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
66 lines (63 loc) · 1.57 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
########### Copyright 2023, NatterNet
## Written by Muhammet Arslan <muhammet.arsln@gmail.com>, August 2023
#########
version: "3.2"
services:
natternet-nats:
container_name: natternet-nats-jetstream-server
hostname: nats-jetstream-server
image: "nats:latest"
command: "--debug -js -sd /data"
ports:
- "4222:4222"
restart: unless-stopped
networks:
- natternet
volumes:
- ./jetstream-data:/data
natternet-sonarqube:
image: sonarqube:community
hostname: sonarqube
container_name: natternet-sonarqube
volumes:
- sonarqube_data:/opt/sonarqube/data
- sonarqube_extensions:/opt/sonarqube/extensions
- sonarqube_logs:/opt/sonarqube/logs
ports:
- "9000:9000"
networks:
- natternet
natternet-mongo:
image: mongo
container_name: natternet-mongo
hostname: mongo
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: natternet
volumes:
- natternet-mongo-data:/data/db
networks:
- natternet
natternet-mongo-express:
image: mongo-express
container_name: natternet-mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: natternet
ME_CONFIG_MONGODB_URL: mongodb://root:natternet@natternet-mongo:27017/
networks:
- natternet
volumes:
natternet-mongo-data:
driver: local
sonarqube_data:
sonarqube_extensions:
sonarqube_logs:
networks:
natternet: