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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

docker-compose.yml 1008B

123456789101112131415161718192021222324252627282930313233343536373839
  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/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. main: