umbrel-apps/samba/docker-compose.yml
2024-09-12 13:41:27 +10:00

28 lines
751 B
YAML

version: '3.7'
services:
app_proxy:
environment:
APP_HOST: samba_homepage_1
APP_PORT: 80
homepage:
image: loficafe/static-web-server-samba:1.0.1@sha256:783667f052d9535bb75946ff9bc807989b041e25437ef10c30b291589d041e6e
restart: on-failure
user: "1000:1000"
volumes:
- ${APP_DATA_DIR}/data/samba/smb.conf:/public/smb.conf:ro
server:
image: dockurr/samba:4.20.2@sha256:f5b3eb5d1d6866b23c7b12259a0f7ec20b991e450785cb710f09e54bcef79e47
restart: on-failure
environment:
USER: umbrel
PASS: ${APP_PASSWORD}
UID: 1000
GID: 1000
ports:
- '446:445'
volumes:
- ${APP_DATA_DIR}/data/samba/smb.conf:/etc/samba/smb.conf
- ${UMBREL_ROOT}/data/storage:/storage