initial commit
This commit is contained in:
13
docker_portainer_stacks/samba/config.env
Normal file
13
docker_portainer_stacks/samba/config.env
Normal file
@ -0,0 +1,13 @@
|
||||
USERNAME=JApoOgeY1PF7qqylo4
|
||||
PASSWORD=uJ6CYqSp266IiijD7K
|
||||
|
||||
folder_to_share=/docker/
|
||||
|
||||
PUID=1000
|
||||
PGID=1000
|
||||
|
||||
TZ=Europe/Lisbon
|
||||
Reset_Mode=unless-stopped
|
||||
|
||||
tag_samba=latest
|
||||
watchtower_autoupdate=false
|
18
docker_portainer_stacks/samba/samba.yml
Normal file
18
docker_portainer_stacks/samba/samba.yml
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
version: "3.5"
|
||||
services:
|
||||
samba:
|
||||
image: elswork/samba:${tag_samba}
|
||||
container_name: samba
|
||||
hostname: samba
|
||||
network_mode: bridge
|
||||
restart: ${Reset_Mode}
|
||||
environment:
|
||||
- TZ=${TZ}
|
||||
volumes:
|
||||
- ${folder_to_share}:/share
|
||||
ports:
|
||||
- 445:445
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=${watchtower_autoupdate}
|
||||
command: '-u "${PUID}:${PGID}:${USERNAME}:${USERNAME}:${PASSWORD}" -s "HomeLAB:/share:rw:${USERNAME}"'
|
Reference in New Issue
Block a user