Guest User

Untitled

a guest
Jan 4th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. version: "2"
  2.  
  3. services:
  4. caddy:
  5. image: abiosoft/caddy:no-stats
  6. container_name: caddy
  7. restart: always
  8. networks:
  9. - proxy
  10. ports:
  11. - "80:80"
  12. - "443:443"
  13. environment:
  14. CADDYPATH: "/etc/caddycerts"
  15. ACME_AGREE: "true"
  16. volumes:
  17. - ./caddy/Caddyfile:/etc/Caddyfile
  18. - ./caddy/caddycerts:/etc/caddycerts
  19. - ./caddy/www:/srv
  20.  
  21. nextcloud:
  22. image: nextcloud:15-apache
  23. container_name: nextcloud
  24. restart: always
  25. networks:
  26. - proxy
  27. - backend
  28. depends_on:
  29. - postgres
  30. volumes:
  31. - nextcloud-data:/var/www/html
  32.  
  33. postgres:
  34. image: postgres:11
  35. container_name: postgres
  36. restart: always
  37. networks:
  38. - backend
  39. volumes:
  40. - postgres-data:/var/lib/postgresql/data
  41. environment:
  42. - POSTGRES_USER=<user>
  43. - POSTGRES_PASSWORD=<password>
  44.  
  45. collabora:
  46. image: collabora/code
  47. container_name: collabora
  48. restart: always
  49. cap_add:
  50. - MKNOD
  51. networks:
  52. - proxy
  53. environment:
  54. # Use "cloud1\\.example\\.org|cloud2\\.example\\.org" if you want to serve multiple hosts
  55. domain: "cloud\\.example\\.org"
  56. cert_domain: "collabora"
  57.  
  58.  
  59. volumes:
  60. nextcloud-data:
  61. postgres-data:
  62.  
  63.  
  64. networks:
  65. proxy:
  66. external: true
  67. backend:
  68. internal: true
Add Comment
Please, Sign In to add comment