smb_and_http_share/docker-compose.yaml
2025-03-21 12:35:13 +00:00

25 lines
530 B
YAML

version: "3"
services:
samba:
image: dockurr/samba
container_name: samba
environment:
USER: "embedika"
PASS: "P@ssw0rd!"
ports:
- "445:445"
volumes:
- /srv/samba_share:/storage
restart: always
http_share:
image: nginx:latest
container_name: http_share
ports:
- "8080:80"
volumes:
- /srv/http_share:/usr/share/nginx/html:ro
- /srv/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- /srv/.htpasswd:/etc/nginx/.htpasswd:ro
restart: always