Sonarqube

docker-compose file

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
sonarqube:
ports:
- 9000:9000/tcp
- 9092:9092/tcp
environment:
SONARQUBE_JDBC_USERNAME: root
SONARQUBE_JDBC_PASSWORD: hola
SONARQUBE_JDBC_URL: jdbc:mysql://mysql/sonarqube?useUnicode=true&characterEncoding=utf8
tty: true
image: sonarqube
links:
- mysql
volumes:
- ./extensions:/opt/sonarqube/extensions
stdin_open: true
restart: always
mysql:
command: --max_allowed_packet=32505856 # Set max_allowed_packet to 256M (or any other value)
environment:
MYSQL_ROOT_PASSWORD: hola
MYSQL_DATABASE: sonarqube
volumes:
- ./mysql-data:/var/lib/mysql
tty: true
image: mysql:5.7
stdin_open: true
restart: always

Comments

⬆︎TOP