Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. version: '2'
  2. services:
  3. db:
  4. restart: always
  5. image: postgres:9.6
  6. volumes:
  7. - /var/fider/pg_data:/var/lib/postgresql/data
  8. environment:
  9. POSTGRES_USER: fider
  10. POSTGRES_PASSWORD: s0m3g00dp4ssw0rd
  11.  
  12. app:
  13. restart: always
  14. image: getfider/fider:stable
  15. ports:
  16. - "9999:3000"
  17. environment:
  18. ###
  19. # REQUIRED
  20. #
  21. # All these settings are required
  22. ###
  23.  
  24. # Use production for best performance
  25. # Use development for verbose logs
  26. GO_ENV: production
  27.  
  28. # Connection string to the PostgreSQL database.
  29. # This example uses the Docker service defined above
  30. DATABASE_URL: postgres://fider:s0m3g00dp4ssw0rd@db:5432/fider?sslmode=disable
  31.  
  32. # CHANGE THIS! You can generate a strong secret at https://randomkeygen.com/
  33. JWT_SECRET: tXQhvSMWMS11qZ9euEhE6lf2ferf0FR6RYGd8iMXiTxxXtJ1XDVdTXPaLtV12ZGp
  34.  
  35. # From which account e-mails will be sent (required)
  36. EMAIL_NOREPLY: noreply@yourdomain.com
  37.  
  38. ###
  39. # EMAIL
  40. #
  41. # Either EMAIL_MAILGUN_* or EMAIL_SMTP_* is required
  42. ###
  43.  
  44. # EMAIL_MAILGUN_API: key-yourkeygoeshere
  45. # EMAIL_MAILGUN_DOMAIN: yourdomain.com
  46.  
  47. # EMAIL_SMTP_HOST: smtp.yourdomain.com
  48. # EMAIL_SMTP_PORT: 587
  49. # EMAIL_SMTP_USERNAME: user@yourdomain.com
  50. # EMAIL_SMTP_PASSWORD: s0m3p4ssw0rd
  51.  
  52. ###
  53. # OPTIONAL
  54. #
  55. # Following settings are optional
  56. ###
  57.  
  58. # Social OAuth:
  59. # Read more on https://getfider.com/docs/configuring-oauth/
  60.  
  61. # Facebook
  62. # OAUTH_FACEBOOK_APPID: <fb_app_id>
  63. # OAUTH_FACEBOOK_SECRET: <fb_app_secret>
  64.  
  65. # Google
  66. # OAUTH_GOOGLE_CLIENTID: <google_app_id>
  67. # OAUTH_GOOGLE_SECRET: <google_app_secret>
  68.  
  69. # GitHub
  70. # OAUTH_GITHUB_CLIENTID: <github_client_id>
  71. # OAUTH_GITHUB_SECRET: <github_secret>
  72.  
  73. depends_on:
  74. - db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement