Skip to content

Commit

Permalink
change dockerfile from php74 to php82
Browse files Browse the repository at this point in the history
  • Loading branch information
h2Entwicklung committed May 31, 2023
1 parent 6b186a9 commit e6c10c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ services:
depends_on:
db-odc:
condition: service_healthy
healthcheck:
test: [ "CMD", "curl", "-s", "-f", "-i", "http://localhost:80/health/check" ]
interval: 20s
timeout: 10s
start_period: 30s
retries: 10

environment:
APACHE_DOCUMENT_ROOT: "public/"
Expand Down Expand Up @@ -125,7 +131,7 @@ services:
image: jboss/keycloak:latest

depends_on:
db-odc:
app-odc:
condition: service_healthy

environment:
Expand Down
1 change: 0 additions & 1 deletion src/Controller/HealthCheckController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public function index(VorfallRepository $incidentRepository): Response
{
try {
$res = $incidentRepository->findAll();
$vorfall = $res[0]->getFakten();
} catch (Exception $exception) {
throw $this->createNotFoundException('Database not working');
}
Expand Down

0 comments on commit e6c10c2

Please sign in to comment.