docker-compose.yml 608 B

1234567891011121314151617181920212223242526272829303132
  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. PUBLICHOST: "0.0.0.0"
  24. FTP_USER_HOME: "/home/bepisbuilds"
  25. FTP_PASSIVE_PORTS: "30000:30025"
  26. restart: on-failure
  27. volumes:
  28. builds-volume: