Samba Server

Just another WordPress site

Samba Server

Now you know we are big Apple fans, so it should come as no surprise that we have an Apple TV (actually several . . .) So it stands to reason that we need to make our media files available on the network. Now there are probably more ways to do this, but as the Synology used samba, we decided to go for this on our server as well.

It is simple and convenient and gets the job done. It works beautifully with the Infuse app on the Apple TV.

version: '3.4'

services:

  samba:
    networks:
      - net_media
    image: dperson/samba
    container_name: ${CONTAINER_NAME}
    volumes:
      - /mnt/media:/media:z
    ports:
      - 139:139
      - 445:445
    read_only: true
    tmpfs:
      - /tmp
    restart: unless-stopped
    stdin_open: true
    tty: true

    command: '-s "media;/media;yes;no;no;###{user}###" -u "###{user}###;###{password}###"'

networks:
  net_media:
    external:
      name: ${CONTAINER_NETWORK}

Leave a Reply

Your email address will not be published. Required fields are marked *