mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-01-10 00:06:51 +01:00
2270: updating docker-compose files
This commit is contained in:
parent
f0c7b6f597
commit
dafe96b019
@ -30,4 +30,11 @@ services:
|
|||||||
SYSTEM_MAXFILESIZE: "100"
|
SYSTEM_MAXFILESIZE: "100"
|
||||||
METRICS_ENABLED: "true"
|
METRICS_ENABLED: "true"
|
||||||
SYSTEM_GOOGLEVISIBILITY: "true"
|
SYSTEM_GOOGLEVISIBILITY: "true"
|
||||||
|
SYSTEM_DATASOURCE_TYPE: "postgresql"
|
||||||
|
SYSTEM_DATASOURCE_HOSTNAME: "db"
|
||||||
|
SYSTEM_DATASOURCE_PORT: "5432"
|
||||||
|
SYSTEM_DATASOURCE_NAME: "stirling_pdf"
|
||||||
|
SYSTEM_DATASOURCE_USEDEFAULT: "false"
|
||||||
|
SYSTEM_DATASOURCE_USERNAME: "admin"
|
||||||
|
SYSTEM_DATASOURCE_PASSWORD: "stirling"
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
|
@ -38,4 +38,11 @@ services:
|
|||||||
SYSTEM_MAXFILESIZE: "100"
|
SYSTEM_MAXFILESIZE: "100"
|
||||||
METRICS_ENABLED: "true"
|
METRICS_ENABLED: "true"
|
||||||
SYSTEM_GOOGLEVISIBILITY: "true"
|
SYSTEM_GOOGLEVISIBILITY: "true"
|
||||||
|
SYSTEM_DATASOURCE_TYPE: "postgresql"
|
||||||
|
SYSTEM_DATASOURCE_HOSTNAME: "db"
|
||||||
|
SYSTEM_DATASOURCE_PORT: "5432"
|
||||||
|
SYSTEM_DATASOURCE_NAME: "stirling_pdf"
|
||||||
|
SYSTEM_DATASOURCE_USEDEFAULT: "false"
|
||||||
|
SYSTEM_DATASOURCE_USERNAME: "admin"
|
||||||
|
SYSTEM_DATASOURCE_PASSWORD: "stirling"
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
|
@ -6,6 +6,8 @@ services:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 4G
|
memory: 4G
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/api/v1/info/status | grep -q 'UP' && curl -fL http://localhost:8080/ | grep -q 'Please sign in'"]
|
test: ["CMD-SHELL", "curl -f http://localhost:8080/api/v1/info/status | grep -q 'UP' && curl -fL http://localhost:8080/ | grep -q 'Please sign in'"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
@ -30,4 +32,22 @@ services:
|
|||||||
SYSTEM_MAXFILESIZE: "100"
|
SYSTEM_MAXFILESIZE: "100"
|
||||||
METRICS_ENABLED: "true"
|
METRICS_ENABLED: "true"
|
||||||
SYSTEM_GOOGLEVISIBILITY: "true"
|
SYSTEM_GOOGLEVISIBILITY: "true"
|
||||||
|
SYSTEM_DATASOURCE_TYPE: "postgresql"
|
||||||
|
SYSTEM_DATASOURCE_HOSTNAME: "db"
|
||||||
|
SYSTEM_DATASOURCE_PORT: "5432"
|
||||||
|
SYSTEM_DATASOURCE_NAME: "stirling_pdf"
|
||||||
|
SYSTEM_DATASOURCE_USEDEFAULT: "false"
|
||||||
|
SYSTEM_DATASOURCE_USERNAME: "admin"
|
||||||
|
SYSTEM_DATASOURCE_PASSWORD: "stirling"
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: 'postgres:17.2-alpine'
|
||||||
|
restart: on-failure:5
|
||||||
|
container_name: db
|
||||||
|
ports:
|
||||||
|
- "5432:5432"
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: "stirling_pdf"
|
||||||
|
POSTGRES_USER: "admin"
|
||||||
|
POSTGRES_PASSWORD: "stirling"
|
@ -27,4 +27,11 @@ services:
|
|||||||
SYSTEM_MAXFILESIZE: "100"
|
SYSTEM_MAXFILESIZE: "100"
|
||||||
METRICS_ENABLED: "true"
|
METRICS_ENABLED: "true"
|
||||||
SYSTEM_GOOGLEVISIBILITY: "true"
|
SYSTEM_GOOGLEVISIBILITY: "true"
|
||||||
|
SYSTEM_DATASOURCE_TYPE: "postgresql"
|
||||||
|
SYSTEM_DATASOURCE_HOSTNAME: "db"
|
||||||
|
SYSTEM_DATASOURCE_PORT: "5432"
|
||||||
|
SYSTEM_DATASOURCE_NAME: "stirling_pdf"
|
||||||
|
SYSTEM_DATASOURCE_USEDEFAULT: "false"
|
||||||
|
SYSTEM_DATASOURCE_USERNAME: "admin"
|
||||||
|
SYSTEM_DATASOURCE_PASSWORD: "stirling"
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
|
Loading…
Reference in New Issue
Block a user