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 816B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
  2. # SPDX-License-Identifier: AGPL-3.0-or-later
  3. version: '3'
  4. services:
  5. nextclouddev:
  6. build: .
  7. volumes:
  8. - .:/workspace:cached
  9. - /var/run/docker.sock:/var/run/docker-host.sock
  10. - ..:/var/www/html
  11. command: /var/www/html/.devcontainer/entrypoint.sh
  12. ports:
  13. - 80:80
  14. - 8080:8080
  15. - 8025:8025
  16. db:
  17. image: postgres
  18. restart: always
  19. environment:
  20. POSTGRES_PASSWORD: postgres
  21. PGDATA: /data/postgres
  22. volumes:
  23. - db:/data/postgres
  24. network_mode: service:nextclouddev
  25. adminer:
  26. image: adminer
  27. restart: always
  28. network_mode: service:nextclouddev
  29. mailhog:
  30. image: mailhog/mailhog
  31. restart: always
  32. network_mode: service:nextclouddev
  33. volumes:
  34. db: