appstore-1panel/apps/sonarqube/9.9.7-community/docker-compose.yml
renovate[bot] f8284e6e42
chore(deps): update sonarqube docker tag to v9.9.7 (#2216)
* chore(deps): update sonarqube docker tag to v9.9.7

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2024-10-01 19:48:06 +08:00

22 lines
640 B
YAML

services:
sonarqube:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
image: sonarqube:9.9.7-community
ports:
- ${PANEL_APP_PORT_HTTP}:9000
volumes:
- ./data/data:/opt/sonarqube/data
- ./data/extensions:/opt/sonarqube/extensions
- ./data/logs:/opt/sonarqube/logs
environment:
SONAR_JDBC_URL: jdbc:${PANEL_DB_TYPE}://${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
SONAR_JDBC_USERNAME: ${PANEL_DB_USER}
SONAR_JDBC_PASSWORD: ${PANEL_DB_USER_PASSWORD}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true