Commit 3527bb3b0820f5e1333f1d34d56fafd3d95787a5

Authored by Ninad Ingole
1 parent f078a36b
Exists in master

Add restart always to the sonarqube containers

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
sonarqube/docker-compose.yml
... ... @@ -5,6 +5,7 @@ services:
5 5 environment:
6 6 POSTGRES_PASSWORD: admin
7 7 POSTGRES_USER: admin
  8 + restart: always
8 9 volumes:
9 10 - "./postgre/data:/var/lib/postgresql/data"
10 11 ports:
... ... @@ -17,6 +18,7 @@ services:
17 18 SONAR_JDBC_URL: jdbc:postgresql://db:5432/postgres
18 19 SONAR_JDBC_USERNAME: admin
19 20 SONAR_JDBC_PASSWORD: admin
  21 + restart: always
20 22 volumes:
21 23 - "./sonarqube/data:/opt/sonarqube/data"
22 24 - "./sonarqube/extensions:/opt/sonarqube/extensions"
... ...