Initial commit

This commit is contained in:
2025-04-24 10:50:18 +02:00
commit 16d7ad73d6
8 changed files with 102 additions and 0 deletions

8
build/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM ghcr.io/netbootxyz/netbootxyz
COPY smb.conf /etc/samba/smb.conf
COPY samba.ini /etc/supervisor.d/samba.ini
RUN apk add samba \
&& adduser isos --disabled-password \
&& echo -e "isos\nisos" | smbpasswd -a -s -c /etc/samba/smb.conf isos
RUN cat /etc/supervisor.d/samba.ini >> /etc/supervisor.conf

5
build/samba.ini Normal file
View File

@@ -0,0 +1,5 @@
[program:smbd]
command=smbd --foreground --no-process-group --debug-stdout --configfile /etc/samba/smb.conf
[program:nmbd]
command=nmbd --foreground --no-process-group --debug-stdout --configfile /etc/samba/smb.conf

10
build/smb.conf Normal file
View File

@@ -0,0 +1,10 @@
[global]
workgroup = WORKGROUP
security = user
[assets]
path = /assets
read only = yes
guest ok = yes
browseable = yes
guest account = isos