Add samba back

This commit is contained in:
Neale Pickett 2022-02-27 10:32:35 -07:00
parent f9c3b1dd40
commit a4389b07b5
2 changed files with 28 additions and 2 deletions

2
homelab/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
password
samba-users.env

View File

@ -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