docker-compose.yml 589 B

1234567891011121314151617181920212223242526272829
  1. version: '3'
  2. services:
  3. nextclouddev:
  4. build: .
  5. volumes:
  6. - .:/workspace:cached
  7. - /var/run/docker.sock:/var/run/docker-host.sock
  8. command: /bin/sh -c "while sleep 1000; do :; done"
  9. ports:
  10. - 80:80
  11. - 8080:8080
  12. - 8025:8025
  13. db:
  14. image: postgres
  15. restart: always
  16. environment:
  17. POSTGRES_PASSWORD: postgres
  18. network_mode: service:nextclouddev
  19. adminer:
  20. image: adminer
  21. restart: always
  22. network_mode: service:nextclouddev
  23. mailhog:
  24. image: mailhog/mailhog
  25. restart: always
  26. network_mode: service:nextclouddev