mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Restart policy
This commit is contained in:
parent
3bdd5e4dd0
commit
f5cd0fbdd8
@ -2,6 +2,7 @@ services:
|
|||||||
pg-compeng:
|
pg-compeng:
|
||||||
container_name: datalens-pg-compeng
|
container_name: datalens-pg-compeng
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: "postgres"
|
POSTGRES_PASSWORD: "postgres"
|
||||||
POSTGRES_DB: postgres
|
POSTGRES_DB: postgres
|
||||||
@ -10,6 +11,7 @@ services:
|
|||||||
control-api:
|
control-api:
|
||||||
container_name: datalens-control-api
|
container_name: datalens-control-api
|
||||||
image: ghcr.io/datalens-tech/datalens-control-api:0.2192.0
|
image: ghcr.io/datalens-tech/datalens-control-api:0.2192.0
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
BI_API_UWSGI_WORKERS_COUNT: 4
|
BI_API_UWSGI_WORKERS_COUNT: 4
|
||||||
CONNECTOR_AVAILABILITY_VISIBLE: "clickhouse,postgres,chyt,ydb,mysql,greenplum,mssql,appmetrica_api,metrika_api"
|
CONNECTOR_AVAILABILITY_VISIBLE: "clickhouse,postgres,chyt,ydb,mysql,greenplum,mssql,appmetrica_api,metrika_api"
|
||||||
@ -25,6 +27,7 @@ services:
|
|||||||
data-api:
|
data-api:
|
||||||
container_name: datalens-data-api
|
container_name: datalens-data-api
|
||||||
image: ghcr.io/datalens-tech/datalens-data-api:0.2192.0
|
image: ghcr.io/datalens-tech/datalens-data-api:0.2192.0
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
GUNICORN_WORKERS_COUNT: 5
|
GUNICORN_WORKERS_COUNT: 5
|
||||||
RQE_FORCE_OFF: 1
|
RQE_FORCE_OFF: 1
|
||||||
@ -44,6 +47,7 @@ services:
|
|||||||
pg-demo-connection:
|
pg-demo-connection:
|
||||||
container_name: datalens-pg-demo-connection
|
container_name: datalens-pg-demo-connection
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: demo
|
POSTGRES_DB: demo
|
||||||
POSTGRES_USER: demo
|
POSTGRES_USER: demo
|
||||||
@ -55,6 +59,7 @@ services:
|
|||||||
pg-us:
|
pg-us:
|
||||||
container_name: datalens-pg-us
|
container_name: datalens-pg-us
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: us-db-ci_purgeable
|
POSTGRES_DB: us-db-ci_purgeable
|
||||||
POSTGRES_USER: us
|
POSTGRES_USER: us
|
||||||
@ -65,6 +70,7 @@ services:
|
|||||||
us:
|
us:
|
||||||
container_name: datalens-us
|
container_name: datalens-us
|
||||||
image: ghcr.io/datalens-tech/datalens-us:0.310.0
|
image: ghcr.io/datalens-tech/datalens-us:0.310.0
|
||||||
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- pg-us
|
- pg-us
|
||||||
environment:
|
environment:
|
||||||
@ -84,6 +90,7 @@ services:
|
|||||||
datalens:
|
datalens:
|
||||||
container_name: datalens-ui
|
container_name: datalens-ui
|
||||||
image: ghcr.io/datalens-tech/datalens-ui:0.2601.0
|
image: ghcr.io/datalens-tech/datalens-ui:0.2601.0
|
||||||
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- ${UI_PORT:-8080}:8080
|
- ${UI_PORT:-8080}:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
Reference in New Issue
Block a user