Dockerfile add volumes for RO container
This commit is contained in:
parent
7c0c35dd38
commit
280c1ffa6d
@ -63,6 +63,7 @@ EXPOSE 137/udp 138/udp 139 445
|
|||||||
HEALTHCHECK --interval=60s --timeout=15s \
|
HEALTHCHECK --interval=60s --timeout=15s \
|
||||||
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
||||||
|
|
||||||
VOLUME ["/etc/samba"]
|
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\
|
||||||
|
"/run/samba"]
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
@ -65,6 +65,7 @@ EXPOSE 137/udp 138/udp 139 445
|
|||||||
HEALTHCHECK --interval=60s --timeout=15s \
|
HEALTHCHECK --interval=60s --timeout=15s \
|
||||||
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
||||||
|
|
||||||
VOLUME ["/etc/samba"]
|
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\
|
||||||
|
"/run/samba"]
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
@ -65,6 +65,7 @@ EXPOSE 137/udp 138/udp 139 445
|
|||||||
HEALTHCHECK --interval=60s --timeout=15s \
|
HEALTHCHECK --interval=60s --timeout=15s \
|
||||||
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
||||||
|
|
||||||
VOLUME ["/etc/samba"]
|
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\
|
||||||
|
"/run/samba"]
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
Loading…
Reference in New Issue
Block a user