supabase: remove container_name and ports
This commit is contained in:
@@ -9,7 +9,6 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
studio:
|
studio:
|
||||||
container_name: supabase-studio
|
|
||||||
image: supabase/studio:20240701-05dfbec
|
image: supabase/studio:20240701-05dfbec
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -48,14 +47,10 @@ services:
|
|||||||
# NEXT_ANALYTICS_BACKEND_PROVIDER: bigquery
|
# NEXT_ANALYTICS_BACKEND_PROVIDER: bigquery
|
||||||
|
|
||||||
kong:
|
kong:
|
||||||
container_name: supabase-kong
|
|
||||||
image: kong:2.8.1
|
image: kong:2.8.1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# https://unix.stackexchange.com/a/294837
|
# https://unix.stackexchange.com/a/294837
|
||||||
entrypoint: bash -c 'eval "echo \"$$(cat ~/temp.yml)\"" > ~/kong.yml && /docker-entrypoint.sh kong docker-start'
|
entrypoint: bash -c 'eval "echo \"$$(cat ~/temp.yml)\"" > ~/kong.yml && /docker-entrypoint.sh kong docker-start'
|
||||||
ports:
|
|
||||||
- ${KONG_HTTP_PORT}:8000/tcp
|
|
||||||
- ${KONG_HTTPS_PORT}:8443/tcp
|
|
||||||
depends_on:
|
depends_on:
|
||||||
analytics:
|
analytics:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -76,7 +71,6 @@ services:
|
|||||||
- ./volumes/api/kong.yml:/home/kong/temp.yml:ro
|
- ./volumes/api/kong.yml:/home/kong/temp.yml:ro
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
container_name: supabase-auth
|
|
||||||
image: supabase/gotrue:v2.151.0
|
image: supabase/gotrue:v2.151.0
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
@@ -149,7 +143,6 @@ services:
|
|||||||
|
|
||||||
|
|
||||||
rest:
|
rest:
|
||||||
container_name: supabase-rest
|
|
||||||
image: postgrest/postgrest:v12.2.0
|
image: postgrest/postgrest:v12.2.0
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
@@ -170,7 +163,6 @@ services:
|
|||||||
|
|
||||||
realtime:
|
realtime:
|
||||||
# This container name looks inconsistent but is correct because realtime constructs tenant id by parsing the subdomain
|
# This container name looks inconsistent but is correct because realtime constructs tenant id by parsing the subdomain
|
||||||
container_name: realtime-dev.supabase-realtime
|
|
||||||
image: supabase/realtime:v2.29.15
|
image: supabase/realtime:v2.29.15
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
@@ -214,7 +206,6 @@ services:
|
|||||||
|
|
||||||
# To use S3 backed storage: docker compose -f docker-compose.yml -f docker-compose.s3.yml up
|
# To use S3 backed storage: docker compose -f docker-compose.yml -f docker-compose.s3.yml up
|
||||||
storage:
|
storage:
|
||||||
container_name: supabase-storage
|
|
||||||
image: supabase/storage-api:v1.0.6
|
image: supabase/storage-api:v1.0.6
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
@@ -257,7 +248,6 @@ services:
|
|||||||
- ./volumes/storage:/var/lib/storage:z
|
- ./volumes/storage:/var/lib/storage:z
|
||||||
|
|
||||||
imgproxy:
|
imgproxy:
|
||||||
container_name: supabase-imgproxy
|
|
||||||
image: darthsim/imgproxy:v3.8.0
|
image: darthsim/imgproxy:v3.8.0
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "imgproxy", "health" ]
|
test: [ "CMD", "imgproxy", "health" ]
|
||||||
@@ -273,7 +263,6 @@ services:
|
|||||||
- ./volumes/storage:/var/lib/storage:z
|
- ./volumes/storage:/var/lib/storage:z
|
||||||
|
|
||||||
meta:
|
meta:
|
||||||
container_name: supabase-meta
|
|
||||||
image: supabase/postgres-meta:v0.83.2
|
image: supabase/postgres-meta:v0.83.2
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
@@ -291,7 +280,6 @@ services:
|
|||||||
PG_META_DB_PASSWORD: ${POSTGRES_PASSWORD}
|
PG_META_DB_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
|
|
||||||
functions:
|
functions:
|
||||||
container_name: supabase-edge-functions
|
|
||||||
image: supabase/edge-runtime:v1.55.0
|
image: supabase/edge-runtime:v1.55.0
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -313,7 +301,6 @@ services:
|
|||||||
- /home/deno/functions/main
|
- /home/deno/functions/main
|
||||||
|
|
||||||
analytics:
|
analytics:
|
||||||
container_name: supabase-analytics
|
|
||||||
image: supabase/logflare:1.4.0
|
image: supabase/logflare:1.4.0
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "curl", "http://localhost:4000/health" ]
|
test: [ "CMD", "curl", "http://localhost:4000/health" ]
|
||||||
@@ -351,12 +338,9 @@ services:
|
|||||||
# Uncomment to use Big Query backend for analytics
|
# Uncomment to use Big Query backend for analytics
|
||||||
# GOOGLE_PROJECT_ID: ${GOOGLE_PROJECT_ID}
|
# GOOGLE_PROJECT_ID: ${GOOGLE_PROJECT_ID}
|
||||||
# GOOGLE_PROJECT_NUMBER: ${GOOGLE_PROJECT_NUMBER}
|
# GOOGLE_PROJECT_NUMBER: ${GOOGLE_PROJECT_NUMBER}
|
||||||
ports:
|
|
||||||
- 4000:4000
|
|
||||||
|
|
||||||
# Comment out everything below this point if you are using an external Postgres database
|
# Comment out everything below this point if you are using an external Postgres database
|
||||||
db:
|
db:
|
||||||
container_name: supabase-db
|
|
||||||
image: supabase/postgres:15.1.1.61
|
image: supabase/postgres:15.1.1.61
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: pg_isready -U postgres -h localhost
|
test: pg_isready -U postgres -h localhost
|
||||||
@@ -373,9 +357,6 @@ services:
|
|||||||
- -c
|
- -c
|
||||||
- log_min_messages=fatal # prevents Realtime polling queries from appearing in logs
|
- log_min_messages=fatal # prevents Realtime polling queries from appearing in logs
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
|
||||||
# Pass down internal port because it's set dynamically by other services
|
|
||||||
- ${POSTGRES_PORT}:${POSTGRES_PORT}
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_HOST: /var/run/postgresql
|
POSTGRES_HOST: /var/run/postgresql
|
||||||
PGPORT: ${POSTGRES_PORT}
|
PGPORT: ${POSTGRES_PORT}
|
||||||
@@ -402,7 +383,6 @@ services:
|
|||||||
- db-config:/etc/postgresql-custom
|
- db-config:/etc/postgresql-custom
|
||||||
|
|
||||||
vector:
|
vector:
|
||||||
container_name: supabase-vector
|
|
||||||
image: timberio/vector:0.28.1-alpine
|
image: timberio/vector:0.28.1-alpine
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
|
|||||||
Reference in New Issue
Block a user