Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

docker-compose.yml 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. version: '2'
  2. services:
  3. postgresql:
  4. build: ./postgresql
  5. container_name: nextcloud-postgresql
  6. # restart: unless-stopped
  7. networks:
  8. nextcloud.internal.docker:
  9. aliases:
  10. - postgresql.nextcloud.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. nextcloud.internal.docker:
  23. aliases:
  24. - nextcloud.nextcloud.internal.docker
  25. volumes:
  26. - ./data/nextcloud/apps:/var/www/html/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. networks:
  36. nextcloud.internal.docker: