editoria.env 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. export EDITORIA_FLAVOUR=VANILLA
  2. export PUBSWEET_SECRET=xxxxxxxxxxxxxxxxxx
  3. export POSTGRES_USER=editoria
  4. export SERVES_CLIENT=true
  5. export ADMIN_USERNAME=admin
  6. export ADMIN_PASSWORD=xxxxxxxxxxxxxxx
  7. export ADMIN_GIVEN_NAME=admin
  8. export ADMIN_SURNAME=admin
  9. export ADMIN_EMAIL=foo@bar.com
  10. export POSTGRES_PASSWORD=xxxxxxxxxxxxxxxxxx
  11. export POSTGRES_HOST=ip.ip.ip.ip #ip of the host
  12. export POSTGRES_DB=editoriadb
  13. export POSTGRES_PORT=5432
  14. #export LANGUAGE_PROTOCOL=
  15. #export LANGUAGE_HOST=
  16. #export LANGUAGE_PORT=
  17. #export MAILER_USER=
  18. #export MAILER_PASSWORD=
  19. #export MAILER_SENDER=
  20. #export MAILER_HOSTNAME=
  21. export PASSWORD_RESET_PATH=password-reset
  22. export NODE_ENV=production
  23. export SERVER_PROTOCOL=http
  24. export SERVER_HOST=ip.ip.ip.ip #ip of the host
  25. export SERVER_PORT=9005
  26. export S3_PROTOCOL=http
  27. export S3_HOST=ip.ip.ip.ip #ip of the host
  28. export S3_PORT=9000
  29. export S3_ACCESS_KEY_ID_ADMIN=xxxxxxxxxxxxxxxxxxx
  30. export S3_SECRET_ACCESS_KEY_ADMIN=yyyyyyyyyyyyyyyyyyyyy
  31. export S3_ACCESS_KEY_ID_USER=editoria
  32. export S3_SECRET_ACCESS_KEY_USER=zzzzzzzzzzzzzzzzzzzzzzzz
  33. export S3_BUCKET=editoria
  34. # (check service documentation on how to create client id and secret https://gitlab.coko.foundation/cokoapps/epub-checker)
  35. export SERVICE_EPUB_CHECKER_CLIENT_ID=xxxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxxxx
  36. export SERVICE_EPUB_CHECKER_SECRET=yyyyyyyyyyyyyyyyy
  37. export SERVICE_EPUB_CHECKER_PROTOCOL=http
  38. export SERVICE_EPUB_CHECKER_HOST=ip.ip.ip.ip #ip of the host
  39. export SERVICE_EPUB_CHECKER_PORT=9004
  40. # (check service documentation on how to create client id and secret https://gitlab.coko.foundation/cokoapps/icml)
  41. export SERVICE_ICML_CLIENT_ID=xxxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxxxx
  42. export SERVICE_ICML_SECRET=yyyyyyyyyyyyyyyyy
  43. export SERVICE_ICML_PROTOCOL=http
  44. export SERVICE_ICML_HOST=ip.ip.ip.ip #ip of the host
  45. export SERVICE_ICML_PORT=9003
  46. # (check service documentation on how to create client id and secret https://gitlab.coko.foundation/cokoapps/pagedjs)
  47. export SERVICE_PAGEDJS_CLIENT_ID=xxxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxxxx
  48. export SERVICE_PAGEDJS_SECRET=yyyyyyyyyyyyyyyyy
  49. export SERVICE_PAGEDJS_PROTOCOL=http
  50. export SERVICE_PAGEDJS_HOST=ip.ip.ip.ip #ip of the host
  51. export SERVICE_PAGEDJS_PORT=9002
  52. # (check service documentation on how to create client id and secret https://gitlab.coko.foundation/cokoapps/xsweet)
  53. export SERVICE_XSWEET_CLIENT_ID=xxxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxxxx
  54. export SERVICE_XSWEET_SECRET=yyyyyyyyyyyyyyyyy
  55. export SERVICE_XSWEET_PROTOCOL=http
  56. export SERVICE_XSWEET_HOST=ip.ip.ip.ip #ip of the host
  57. export SERVICE_XSWEET_PORT=9001