From 863a6e529b52e77dbbd66412c5ba7fbda4945fe3 Mon Sep 17 00:00:00 2001 From: DarioGii Date: Sun, 15 Dec 2024 13:16:42 +0000 Subject: [PATCH] #2270 updating other Docker configs --- exampleYmlFiles/docker-compose-latest-fat-security.yml | 9 +++++---- .../docker-compose-latest-security-with-sso.yml | 7 ++++--- exampleYmlFiles/docker-compose-latest-security.yml | 1 + .../docker-compose-latest-ultra-lite-security.yml | 10 ++++++---- 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/exampleYmlFiles/docker-compose-latest-fat-security.yml b/exampleYmlFiles/docker-compose-latest-fat-security.yml index 86756c180c5..8e930c2ca8c 100644 --- a/exampleYmlFiles/docker-compose-latest-fat-security.yml +++ b/exampleYmlFiles/docker-compose-latest-fat-security.yml @@ -1,7 +1,7 @@ services: stirling-pdf: container_name: Stirling-PDF-Security-Fat - image: stirlingtools/stirling-pdf:latest-fat + image: stirlingtools/stirling-pdf:test deploy: resources: limits: @@ -16,9 +16,9 @@ services: ports: - 8080:8080 volumes: - - /stirling/latest/data:/usr/share/tessdata:rw - - /stirling/latest/config:/configs:rw - - /stirling/latest/logs:/logs:rw + - /Users/darioghunneyware/stirling/latest/data:/usr/share/tessdata:rw + - /Users/darioghunneyware/stirling/latest/config:/configs:rw + - /Users/darioghunneyware/stirling/latest/logs:/logs:rw environment: DOCKER_ENABLE_SECURITY: "true" SECURITY_ENABLELOGIN: "false" @@ -43,6 +43,7 @@ services: db: image: 'postgres:17.2-alpine' + restart: on-failure:5 container_name: db ports: - "5432:5432" diff --git a/exampleYmlFiles/docker-compose-latest-security-with-sso.yml b/exampleYmlFiles/docker-compose-latest-security-with-sso.yml index 39f7054a6ce..a5739ea49bd 100644 --- a/exampleYmlFiles/docker-compose-latest-security-with-sso.yml +++ b/exampleYmlFiles/docker-compose-latest-security-with-sso.yml @@ -16,9 +16,9 @@ services: ports: - "8080:8080" volumes: - - /stirling/latest/data:/usr/share/tessdata:rw - - /stirling/latest/config:/configs:rw - - /stirling/latest/logs:/logs:rw + - /Users/darioghunneyware/stirling/latest/data:/usr/share/tessdata:rw + - /Users/darioghunneyware/stirling/latest/config:/configs:rw + - /Users/darioghunneyware/stirling/latest/logs:/logs:rw environment: DOCKER_ENABLE_SECURITY: "true" SECURITY_ENABLELOGIN: "true" @@ -51,6 +51,7 @@ services: db: image: 'postgres:17.2-alpine' + restart: on-failure:5 container_name: db ports: - "5432:5432" diff --git a/exampleYmlFiles/docker-compose-latest-security.yml b/exampleYmlFiles/docker-compose-latest-security.yml index c47f0a825ae..4c33d496341 100644 --- a/exampleYmlFiles/docker-compose-latest-security.yml +++ b/exampleYmlFiles/docker-compose-latest-security.yml @@ -43,6 +43,7 @@ services: db: image: 'postgres:17.2-alpine' + restart: on-failure:5 container_name: db ports: - "5432:5432" diff --git a/exampleYmlFiles/docker-compose-latest-ultra-lite-security.yml b/exampleYmlFiles/docker-compose-latest-ultra-lite-security.yml index 2d13a2f2b93..157ed07fd05 100644 --- a/exampleYmlFiles/docker-compose-latest-ultra-lite-security.yml +++ b/exampleYmlFiles/docker-compose-latest-ultra-lite-security.yml @@ -1,7 +1,7 @@ services: stirling-pdf: container_name: Stirling-PDF-Ultra-Lite-Security - image: stirlingtools/stirling-pdf:latest-ultra-lite + image: stirlingtools/stirling-pdf:test deploy: resources: limits: @@ -16,9 +16,9 @@ services: ports: - "8080:8080" volumes: - - /stirling/latest/data:/usr/share/tessdata:rw - - /stirling/latest/config:/configs:rw - - /stirling/latest/logs:/logs:rw + - /Users/darioghunneyware/stirling/latest/data:/usr/share/tessdata:rw + - /Users/darioghunneyware/stirling/latest/config:/configs:rw + - /Users/darioghunneyware/stirling/latest/logs:/logs:rw environment: DOCKER_ENABLE_SECURITY: "true" SECURITY_ENABLELOGIN: "true" @@ -40,6 +40,8 @@ services: db: image: 'postgres:17.2-alpine' + restart: on-failure:5 + shm_size: 32mb container_name: db ports: - "5432:5432"