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.

docker-compose.yml 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. version: '2'
  2. services:
  3. postgresql:
  4. build: ./postgresql
  5. container_name: nextcloud-postgresql
  6. # restart: unless-stopped
  7. networks:
  8. main:
  9. aliases:
  10. - postgresql.main.internal.docker
  11. volumes:
  12. - ./data/postgresql/data:/var/lib/postgresql/data
  13. ports:
  14. - "127.0.0.1:3580:5432"
  15. env_file:
  16. - env
  17. nextcloud:
  18. build: ./nextcloud
  19. container_name: nextcloud-nextcloud
  20. # restart: unless-stopped
  21. networks:
  22. main:
  23. aliases:
  24. - nextcloud.main.internal.docker
  25. volumes:
  26. - ./data/nextcloud/custom_apps:/var/www/html/custom_apps
  27. - ./data/nextcloud/config:/var/www/html/config
  28. - ./data/nextcloud/data:/var/www/html/data
  29. ports:
  30. - "127.0.0.1:35081:80"
  31. environment:
  32. - POSTGRES_DB=nextcloud
  33. env_file:
  34. - env
  35. collabora:
  36. build: ./collabora
  37. container_name: nextcloud-collabora
  38. # restart: unless-stopped
  39. networks:
  40. main:
  41. aliases:
  42. - collabora.main.internal.docker
  43. ports:
  44. - "127.0.0.1:35082:9980"
  45. cap_add:
  46. - MKNOD
  47. env_file:
  48. - env
  49. - env_collabora
  50. networks:
  51. main: