services: db: image: supabase/postgres:15.8.1.085 ports: - "54322:5432" environment: POSTGRES_HOST: /var/run/postgresql PGPORT: 5432 POSTGRES_PORT: 5432 PGPASSWORD: postgres POSTGRES_PASSWORD: postgres PGDATABASE: postgres POSTGRES_DB: postgres JWT_SECRET: super-secret-jwt-token-with-at-least-32-characters-long JWT_EXP: 3600 volumes: - supabase-db:/var/lib/postgresql/data - ./supabase/volumes/db/roles.sql:/docker-entrypoint-initdb.d/init-scripts/99-roles.sql:ro - ./supabase/volumes/db/jwt.sql:/docker-entrypoint-initdb.d/init-scripts/99-jwt.sql:ro - ./supabase/migrations/00001_init.sql:/docker-entrypoint-initdb.d/migrations/99-vuelato-init.sql:ro - ./supabase/migrations/00002_search_queue.sql:/docker-entrypoint-initdb.d/migrations/99-vuelato-search-queue.sql:ro healthcheck: test: pg_isready -U postgres -h localhost interval: 5s timeout: 5s retries: 10 auth: image: supabase/gotrue:v2.186.0 ports: - "9999:9999" environment: GOTRUE_API_HOST: 0.0.0.0 GOTRUE_API_PORT: 9999 API_EXTERNAL_URL: http://localhost:8000 GOTRUE_DB_DRIVER: postgres GOTRUE_DB_DATABASE_URL: postgres://supabase_auth_admin:postgres@db:5432/postgres GOTRUE_SITE_URL: http://localhost:3000 GOTRUE_URI_ALLOW_LIST: "" GOTRUE_DISABLE_SIGNUP: "false" GOTRUE_JWT_ADMIN_ROLES: service_role GOTRUE_JWT_AUD: authenticated GOTRUE_JWT_DEFAULT_GROUP_NAME: authenticated GOTRUE_JWT_EXP: 3600 GOTRUE_JWT_SECRET: super-secret-jwt-token-with-at-least-32-characters-long GOTRUE_EXTERNAL_EMAIL_ENABLED: "true" GOTRUE_MAILER_AUTOCONFIRM: "true" GOTRUE_SMS_AUTOCONFIRM: "true" GOTRUE_EXTERNAL_ANONYMOUS_USERS_ENABLED: "false" GOTRUE_EXTERNAL_PHONE_ENABLED: "false" depends_on: db: condition: service_healthy restart: unless-stopped rest: image: postgrest/postgrest:v14.8 ports: - "3001:3000" environment: PGRST_DB_URI: postgres://authenticator:postgres@db:5432/postgres PGRST_DB_SCHEMAS: public,storage,graphql_public PGRST_DB_ANON_ROLE: anon PGRST_JWT_SECRET: super-secret-jwt-token-with-at-least-32-characters-long PGRST_DB_USE_LEGACY_GUCS: "false" PGRST_APP_SETTINGS_JWT_SECRET: super-secret-jwt-token-with-at-least-32-characters-long PGRST_APP_SETTINGS_JWT_EXP: 3600 PGRST_DB_EXTRA_SEARCH_PATH: public depends_on: db: condition: service_healthy restart: unless-stopped kong: image: kong/kong:3.9.1 ports: - "8000:8000" environment: KONG_DATABASE: "off" KONG_DECLARATIVE_CONFIG: /var/lib/kong/kong.yml KONG_DNS_ORDER: LAST,A,CNAME KONG_PLUGINS: request-transformer,cors,key-auth,acl,basic-auth KONG_NGINX_PROXY_PROXY_BUFFER_SIZE: 160k KONG_NGINX_PROXY_PROXY_BUFFERS: 64 160k volumes: - ./supabase/volumes/api/kong.yml:/var/lib/kong/kong.yml:ro depends_on: auth: condition: service_started rest: condition: service_started restart: unless-stopped meta: image: supabase/postgres-meta:v0.96.3 ports: - "8085:8080" environment: PG_META_PORT: 8080 PG_META_DB_HOST: db PG_META_DB_PORT: 5432 PG_META_DB_NAME: postgres PG_META_DB_USER: supabase_admin PG_META_DB_PASSWORD: postgres depends_on: db: condition: service_healthy studio: image: supabase/studio:latest ports: - "3100:3000" environment: STUDIO_PG_META_URL: http://meta:8080 POSTGRES_PASSWORD: postgres DEFAULT_ORGANIZATION_NAME: Vuelato DEFAULT_PROJECT_NAME: Vuelato SUPABASE_URL: http://kong:8000 SUPABASE_PUBLIC_URL: http://localhost:8000 SUPABASE_ANON_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0 SUPABASE_SERVICE_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU NEXT_PUBLIC_ENABLE_LOGS: "false" NEXT_ANALYTICS_BACKEND_PROVIDER: postgres depends_on: meta: condition: service_started volumes: supabase-db: