# NOTICE: DON'T USE IT IN PRODUCTION. 本番環境で使用しないで。 version: "3" services: kong: image: kong:2.6.0-alpine environment: KONG_DATABASE: "off" KONG_DECLARATIVE_CONFIG: /var/lib/kong/kong.yml KONG_PLUGINS: request-transformer,cors,key-auth volumes: - ./kong:/var/lib/kong ports: - 8000:8000 auth: image: supabase/gotrue:v2.1.8 depends_on: - db environment: PORT: "9999" GOTRUE_SITE_URL: http://localhost:3000 GOTRUE_DB_DRIVER: postgres DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@db:5432/postgres?search_path=auth GOTRUE_JWT_SECRET: ${JWT_SECRET} GOTRUE_JWT_DEFAULT_GROUP_NAME: authenticated GOTRUE_MAILER_AUTOCONFIRM: "true" rest: image: postgrest/postgrest:v8.0.0 depends_on: - db environment: PGRST_DB_URI: postgres://postgres:${POSTGRES_PASSWORD}@db:5432/postgres PGRST_DB_SCHEMA: public,storage PGRST_DB_ANON_ROLE: anon PGRST_JWT_SECRET: ${JWT_SECRET} # realtime: # storage: db: image: supabase/postgres:13.3.0 environment: POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} volumes: - ./initdb.d:/docker-entrypoint-initdb.d