caddy_net

This commit is contained in:
2025-10-13 12:01:58 +02:00
parent 1d301f8638
commit 543fb85772

View File

@@ -101,6 +101,8 @@ services:
volumes: volumes:
- superset_home:/app/superset_home - superset_home:/app/superset_home
- ./superset_config.py:/app/pythonpath/superset_config.py:Z - ./superset_config.py:/app/pythonpath/superset_config.py:Z
networks:
- caddy_net
command: > command: >
sh -c " sh -c "
superset db upgrade && superset db upgrade &&
@@ -120,6 +122,8 @@ services:
- /dev/urandom:/dev/random:ro - /dev/urandom:/dev/random:ro
ports: ports:
- "3000:3000" - "3000:3000"
networks:
- caddy_net
environment: environment:
MB_DB_TYPE: postgres MB_DB_TYPE: postgres
MB_DB_HOST: ${MB_DB_HOST:-database} MB_DB_HOST: ${MB_DB_HOST:-database}
@@ -246,6 +250,8 @@ services:
] ]
ports: ports:
- 3006:5000 - 3006:5000
networks:
- caddy_net
environment: environment:
- PGHOST=${POSTGRAPHILE_HOST:-postgresql} - PGHOST=${POSTGRAPHILE_HOST:-postgresql}
- PGPORT=${POSTGRAPHILE_DB_PORT:-5432} - PGPORT=${POSTGRAPHILE_DB_PORT:-5432}
@@ -275,6 +281,8 @@ services:
command: postgrest command: postgrest
ports: ports:
- 3005:3005 - 3005:3005
networks:
- caddy_net
environment: environment:
PGRST_DB_URI: postgres://${POSTGREST_USER:-postgrest}:9012@${POSTGREST_HOST:-database}:${POSTGREST_DB_PORT:-5432}/${COMPOSE_PROJECT_NAME} PGRST_DB_URI: postgres://${POSTGREST_USER:-postgrest}:9012@${POSTGREST_HOST:-database}:${POSTGREST_DB_PORT:-5432}/${COMPOSE_PROJECT_NAME}
PGRST_DB_SCHEMAS: ${POSTGREST_DB_SCHEMAS:-public} PGRST_DB_SCHEMAS: ${POSTGREST_DB_SCHEMAS:-public}
@@ -290,6 +298,8 @@ services:
ports: ports:
- "8080:8080" - "8080:8080"
restart: "no" restart: "no"
networks:
- caddy_net
environment: environment:
API_REFERENCE_CONFIG: | API_REFERENCE_CONFIG: |
{ {