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
|
external: false
|
||||||
swagger:
|
swagger:
|
||||||
external: false
|
external: false
|
||||||
|
sonar:
|
||||||
|
external: false
|
||||||
|
asyncapi:
|
||||||
|
external: false
|
||||||
|
|
||||||
services:
|
services:
|
||||||
smtp:
|
smtp:
|
||||||
@ -27,6 +31,7 @@ services:
|
|||||||
- sentry
|
- sentry
|
||||||
- gitea
|
- gitea
|
||||||
- youtrack
|
- youtrack
|
||||||
|
- sonar
|
||||||
|
|
||||||
drone-db:
|
drone-db:
|
||||||
image: postgres:10
|
image: postgres:10
|
||||||
@ -268,4 +273,46 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8082:8080"
|
- "127.0.0.1:8082:8080"
|
||||||
environment:
|
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\"} ]"
|
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