docker-compose.yml 683 B

123456789101112131415161718192021222324252627282930
  1. # docker-compose.yml
  2. version: '3'
  3. services:
  4. server:
  5. image: postgrest/postgrest
  6. ports:
  7. - "3000:3000"
  8. environment:
  9. PGRST_DB_URI: postgres://postgres:Ultr4p0d3r0s0@db:5432/adcfi
  10. PGRST_DB_ANON_ROLE: web_usr
  11. PGRST_JWT_SECRET: JPUw]7HrjGp"L+y>dns.YB3_fWNV2ba(
  12. PGRST_OPENAPI_SERVER_PROXY_URI: http://127.0.0.1:3000
  13. depends_on:
  14. - db
  15. db:
  16. image: supabase/postgres
  17. ports:
  18. - "5432:5432"
  19. environment:
  20. POSTGRES_PASSWORD: Ultr4p0d3r0s0
  21. POSTGRES_DB: adcfi
  22. swagger:
  23. image: swaggerapi/swagger-ui
  24. ports:
  25. - "8080:8080"
  26. expose:
  27. - "8080"
  28. environment:
  29. API_URL: http://localhost:3000/