sonarqube restart

This commit is contained in:
eneller
2025-08-19 16:11:04 +00:00
parent 3e1d191bee
commit 6985d0dbc1

View File

@@ -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