docker-compose.yml 580 B

12345678910111213141516171819202122232425262728293031
  1. version: '3'
  2. services:
  3. bepisbuilds:
  4. build:
  5. context: .
  6. dockerfile: Dockerfile
  7. volumes:
  8. - "builds-volume:/var/www/bepisbuilds/builds"
  9. restart: always
  10. ports:
  11. - "4000:4000"
  12. ftpd-server:
  13. image: stilliard/pure-ftpd:hardened
  14. ports:
  15. - "21:21"
  16. - "20:20"
  17. - "30000-30025:30000-30025"
  18. volumes:
  19. - "builds-volume:/home/bepisbuilds"
  20. env_file:
  21. - ./ftp.env
  22. environment:
  23. FTP_USER_HOME: "/home/bepisbuilds"
  24. FTP_PASSIVE_PORTS: "30000:30025"
  25. restart: on-failure
  26. volumes:
  27. builds-volume: