Advertisement
Guest User

samba_docker_compose

a guest
Feb 20th, 2021
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. version: "3.8"
  2. services:
  3. samba:
  4. image: dperson/samba
  5. container_name: samba
  6. volumes:
  7. - /path/to/volume:/volume_shared
  8. - /path/to/volume2:/volume_shared2
  9. - /path/to/volume3:/volume_shared3
  10. ports:
  11. - "137:137/udp"
  12. - "138:138/udp"
  13. - "139:139/tcp"
  14. - "445:445/tcp"
  15. tty: true
  16. stdin_open: true
  17. restart: unless-stopped
  18. networks:
  19. - media
  20. command: '-s "volume_shared;/volume_shared" -s "volume_shared2;/volume_shared2" -s "volume_shared3;/volume_shared3" -u "user;password" -p'
  21.  
  22. networks:
  23. media:
  24. external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement