docker-compose.yml 1012 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. services:
  2. start:
  3. image: start
  4. build:
  5. context: python
  6. dockerfile: start
  7. python:
  8. image: python
  9. build:
  10. context: python
  11. dockerfile: python
  12. depends_on:
  13. - start
  14. # spacchettatore di pdf per l'amministrazione
  15. bpconverter:
  16. image: django.bcp
  17. build:
  18. context: python
  19. dockerfile: django.bpc
  20. depends_on:
  21. - python
  22. ports:
  23. - 8220:8220
  24. volumes:
  25. - /home/data/bpconverter:/home/bpconverter
  26. environment:
  27. - PORT=8220
  28. - V=5
  29. entrypoint: ['/bin/bash','/root/run.sh']
  30. restart: unless-stopped
  31. # bpconverter: supporto per la fornitura di file e immagini
  32. bpconverter.nginx:
  33. image: nginx.bpc
  34. build:
  35. context: nginx.bpc
  36. dockerfile: nginx.bpc
  37. ports:
  38. - 8225:80
  39. volumes:
  40. - /home/data/bpconverter.nginx:/etc/nginx
  41. - /home/data/bpconverter:/home/bpconverter
  42. entrypoint: ['/bin/bash','/root/run.sh']
  43. restart: unless-stopped
  44. depends_on:
  45. - start