sonarqube restart
This commit is contained in:
@@ -3,6 +3,7 @@ services:
|
|||||||
sonarqube:
|
sonarqube:
|
||||||
image: sonarqube:community
|
image: sonarqube:community
|
||||||
hostname: sonarqube
|
hostname: sonarqube
|
||||||
|
restart: always
|
||||||
container_name: sonarqube
|
container_name: sonarqube
|
||||||
read_only: true
|
read_only: true
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -23,6 +24,7 @@ services:
|
|||||||
- ${NETWORK_TYPE:-ipv4}
|
- ${NETWORK_TYPE:-ipv4}
|
||||||
db:
|
db:
|
||||||
image: postgres:17
|
image: postgres:17
|
||||||
|
restart: always
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ]
|
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
|||||||
Reference in New Issue
Block a user