Update server stuff. Make sure it matches our prod db as it is now.

This commit is contained in:
2025-06-19 16:16:20 -05:00
parent 219549d35a
commit 3001f90a48
3 changed files with 149 additions and 18 deletions

View File

@ -5,22 +5,22 @@
# Destroy: docker compose -f docker-compose.yml -f ./dev/docker-compose.dev.yml down -v --remove-orphans
# Reset everything: ./reset.sh
name: supabase
name: techtracker
networks:
supabase-network:
name: supabase-network
techtracker:
name: techtracker
driver: bridge
ipam:
config:
- subnet: 172.20.0.0/16
- subnet: 172.19.0.0/16
services:
studio:
container_name: supabase-studio
image: supabase/studio:2025.05.19-sha-3487831
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
healthcheck:
test:
@ -61,7 +61,7 @@ services:
kong:
container_name: supabase-kong
image: kong:2.8.1
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
ports:
- ${KONG_HTTP_PORT}:8000/tcp
@ -90,7 +90,7 @@ services:
auth:
container_name: supabase-auth
image: supabase/gotrue:v2.172.1
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
healthcheck:
test:
@ -173,7 +173,7 @@ services:
GOTRUE_EXTERNAL_AZURE_CLIENT_ID: ${AZURE_CLIENT_ID}
GOTRUE_EXTERNAL_AZURE_SECRET: ${AZURE_SECRET}
GOTRUE_EXTERNAL_AZURE_TENANT_ID: ${AZURE_TENANT_ID}
GOTRUE_EXTERNAL_AZURE_TENANT_URL: ${AZURE_TENANT_URL}
GOTRUE_EXTERNAL_AZURE_URL: ${AZURE_TENANT_URL}
GOTRUE_EXTERNAL_AZURE_REDIRECT_URI: ${AZURE_REDIRECT_URI}
# Uncomment to enable custom access token hook. Please see: https://supabase.com/docs/guides/auth/auth-hooks for full list of hooks and additional details about custom_access_token_hook
@ -199,7 +199,7 @@ services:
rest:
container_name: supabase-rest
image: postgrest/postgrest:v12.2.12
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
depends_on:
db:
@ -224,7 +224,7 @@ services:
# 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.34.47
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
depends_on:
db:
@ -270,7 +270,7 @@ services:
storage:
container_name: supabase-storage
image: supabase/storage-api:v1.22.17
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
volumes:
- ./volumes/storage:/var/lib/storage:z
@ -314,7 +314,7 @@ services:
imgproxy:
container_name: supabase-imgproxy
image: darthsim/imgproxy:v3.8.0
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
volumes:
- ./volumes/storage:/var/lib/storage:z
@ -337,7 +337,7 @@ services:
meta:
container_name: supabase-meta
image: supabase/postgres-meta:v0.89.0
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
depends_on:
db:
@ -356,7 +356,7 @@ services:
functions:
container_name: supabase-edge-functions
image: supabase/edge-runtime:v1.67.4
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
volumes:
- ./volumes/functions:/home/deno/functions:Z
@ -381,7 +381,7 @@ services:
analytics:
container_name: supabase-analytics
image: supabase/logflare:1.12.0
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
ports:
- 4000:4000
@ -430,7 +430,7 @@ services:
db:
container_name: supabase-db
image: supabase/postgres:15.8.1.060
networks: [supabase-network]
networks: [techtracker]
ports:
- ${POSTGRES_PORT}:${POSTGRES_PORT}
restart: unless-stopped
@ -490,7 +490,7 @@ services:
vector:
container_name: supabase-vector
image: timberio/vector:0.28.1-alpine
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
volumes:
- ./volumes/logs/vector.yml:/etc/vector/vector.yml:ro,z
@ -522,7 +522,7 @@ services:
supavisor:
container_name: supabase-pooler
image: supabase/supavisor:2.5.1
networks: [supabase-network]
networks: [techtracker]
restart: unless-stopped
ports:
#- ${POSTGRES_PORT}:5432
@ -574,3 +574,4 @@ services:
volumes:
db-config:
name: techtracker-db-config