You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 4 година
пре 4 година
пре 4 година
пре 4 година
пре 5 година
пре 4 година
пре 5 година
пре 4 година
пре 4 година
пре 4 година
пре 4 година
пре 5 година
пре 4 година
пре 4 година
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. version: "3"
  2. services:
  3. db:
  4. restart: always
  5. image: postgres:9.5
  6. volumes:
  7. - postgresql:/var/lib/postgresql/data
  8. environment:
  9. - POSTGRES_DB=${DATABASE_NAME}
  10. - POSTGRES_USER=${DATABASE_USER}
  11. - POSTGRES_PASSWORD=${DATABASE_PASSWORD}
  12. backend:
  13. restart: always
  14. image: quay.io/lesspass/backend:latest
  15. links:
  16. - db
  17. environment:
  18. - DATABASE_ENGINE
  19. - DATABASE_HOST
  20. - DATABASE_NAME
  21. - DATABASE_USER
  22. - DATABASE_PASSWORD
  23. - DATABASE_PORT
  24. - DEBUG
  25. - SECRET_KEY
  26. - FRONTEND_HOST
  27. - EMAIL_BACKEND
  28. - DEFAULT_FROM_EMAIL
  29. - EMAIL_HOST
  30. - EMAIL_HOST_USER
  31. - EMAIL_HOST_PASSWORD
  32. - EMAIL_PORT
  33. - EMAIL_USE_TLS
  34. volumes:
  35. - www:/opt/backend/www
  36. frontend:
  37. restart: always
  38. image: quay.io/lesspass/frontend:latest
  39. webserver:
  40. restart: always
  41. image: quay.io/lesspass/webserver:latest
  42. ports:
  43. - 80:80
  44. - 443:443
  45. links:
  46. - backend
  47. - frontend
  48. environment:
  49. - FQDN
  50. - EMAIL
  51. - CRT_PATH
  52. - KEY_PATH
  53. volumes:
  54. - ${PWD}/${CRT_PATH}:/usr/local/apache2/conf/${CRT_PATH}:Z
  55. - ${PWD}/${KEY_PATH}:/usr/local/apache2/conf/${KEY_PATH}:Z
  56. - www:/var/www/html/
  57. volumes:
  58. postgresql:
  59. www: