diff --git a/homelab/.gitignore b/homelab/.gitignore new file mode 100644 index 0000000..f0764f1 --- /dev/null +++ b/homelab/.gitignore @@ -0,0 +1,2 @@ +password +samba-users.env diff --git a/homelab/docker-compose.yaml b/homelab/docker-compose.yaml index 7007047..9518e4b 100644 --- a/homelab/docker-compose.yaml +++ b/homelab/docker-compose.yaml @@ -53,7 +53,7 @@ services: traefik.http.routers.simpleauth.rule: "PathPrefix(`/`)" traefik.http.services.simpleauth.loadbalancer.server.port: "8080" plex: - image: ghcr.io/linuxserver/plex:1.25.3 + image: ghcr.io/linuxserver/plex:1.25.4 networks: - hostnet environment: @@ -96,7 +96,7 @@ services: source: /srv/ext/sys/nextcloud target: /config - type: bind - source: /srv/ext/storage + source: /srv/ext/nextcloud target: /data - type: bind source: /srv/ext @@ -140,6 +140,30 @@ services: networks: - hostnet + samba: + image: dperson/samba + volumes: + - type: bind + source: /srv/ext + target: /srv/ext + environment: + NMBD: enable + RECYCLE: disable + # name;path;browse;readonly;guest + SHARE1: storage;/srv/ext/storage;yes;no;no + SHARE2: media;/srv/ext/media;yes;no;no + SHARE3: software;/srv/ext/software;yes;no;no + SHARE4: backups;/srv/ext/backups;yes;no;no + env_file: + - samba-users.env + ports: + - published: 139 + target: 139 + - published: 445 + target: 445 + + + secrets: password: file: password