add sonar and asyncapi
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
74a17bf6fd
commit
398eccc4c7
@ -15,6 +15,10 @@ networks:
|
||||
external: false
|
||||
swagger:
|
||||
external: false
|
||||
sonar:
|
||||
external: false
|
||||
asyncapi:
|
||||
external: false
|
||||
|
||||
services:
|
||||
smtp:
|
||||
@ -27,6 +31,7 @@ services:
|
||||
- sentry
|
||||
- gitea
|
||||
- youtrack
|
||||
- sonar
|
||||
|
||||
drone-db:
|
||||
image: postgres:10
|
||||
@ -269,3 +274,45 @@ services:
|
||||
- "127.0.0.1:8082:8080"
|
||||
environment:
|
||||
URLS: "[ { name: \"Input Service\", url: \"https://git.kmlabz.com/birbnetes/swagger-docs/raw/branch/master/input.yml\"}, { name: \"Storage Service\", url: \"https://git.kmlabz.com/birbnetes/swagger-docs/raw/branch/master/storage.yml\" }, { name: \"Extractor Service\", url: \"https://git.kmlabz.com/birbnetes/swagger-docs/raw/branch/master/extractor.yaml\" }, {name: \"Output Service (RDB)\", url: \"https://git.kmlabz.com/birbnetes/swagger-docs/raw/branch/master/output-service-rdb.yml\"} ]"
|
||||
|
||||
sonar:
|
||||
image: sonarqube:community
|
||||
depends_on:
|
||||
- sonar-db
|
||||
networks:
|
||||
- sonar
|
||||
volumes:
|
||||
- ./sonar/conf:/opt/sonarqube/conf
|
||||
- ./sonar/data:/opt/sonarqube/data
|
||||
- ./sonar/extensions:/opt/sonarqube/extensions
|
||||
ports:
|
||||
- "127.0.0.1:8989:9000"
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
environment:
|
||||
- SONARQUBE_JDBC_URL=jdbc:postgresql://sonar-db:5432/sonar
|
||||
- SONARQUBE_JDBC_PASSWORD=sonar
|
||||
- SONARQUBE_JDBC_USERNAME=sonar
|
||||
|
||||
sonar-db:
|
||||
image: postgres:12
|
||||
volumes:
|
||||
- ./postgres-sonar:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=sonar
|
||||
- POSTGRES_USER=sonar
|
||||
- POSTGRES_DB=sonar
|
||||
networks:
|
||||
- sonar
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
|
||||
asyncapi:
|
||||
restart: unless-stopped
|
||||
image: registry.kmlabz.com/birbnetes/asyncapi
|
||||
ports:
|
||||
- "127.0.0.1:8282:80"
|
||||
networks:
|
||||
- asyncapi
|
||||
|
Reference in New Issue
Block a user