fix(template): superset version and postgres volume mount (#7662)
This commit is contained in:
commit
8694ca2212
1 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
services:
|
services:
|
||||||
superset:
|
superset:
|
||||||
image: amancevice/superset:latest
|
image: amancevice/superset:6.0.0
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_URL_SUPERSET_8088
|
- SERVICE_URL_SUPERSET_8088
|
||||||
- SECRET_KEY=${SERVICE_BASE64_64_SUPERSETSECRETKEY}
|
- SECRET_KEY=${SERVICE_BASE64_64_SUPERSETSECRETKEY}
|
||||||
|
|
@ -63,13 +63,13 @@ services:
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17-alpine
|
image: postgres:18
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
||||||
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
|
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
|
||||||
- POSTGRES_DB=${POSTGRES_DB:-superset-db}
|
- POSTGRES_DB=${POSTGRES_DB:-superset-db}
|
||||||
volumes:
|
volumes:
|
||||||
- superset_postgres_data:/var/lib/postgresql/data
|
- superset_postgres_data:/var/lib/postgresql
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
|
|
@ -77,7 +77,7 @@ services:
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:8-alpine
|
image: redis:8
|
||||||
volumes:
|
volumes:
|
||||||
- superset_redis_data:/data
|
- superset_redis_data:/data
|
||||||
command: redis-server --requirepass ${SERVICE_PASSWORD_REDIS}
|
command: redis-server --requirepass ${SERVICE_PASSWORD_REDIS}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue