2025-03-23 18:38:21 +00:00

30 lines
671 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# smb_and_http_share
По-умолчанию логин и пароль smb подключения:
```
user
P@ssw0rd!
```
Для генерации связки логин и пароль для http шары использовать:
```
htpasswd -c /srv/.htpasswd user
```
Запуск:
```
docker-compose up -d
```
Расшаривает содержимое двух директорий, лежащих рядом с файлами из данного репозитория:
- samba_share
- http_share
Проверка подключения:
```
smbclient //10.168.22.228/Data -U user
P@ssw0rd!
```
```
curl -u user -s http://10.168.22.228:8080
P@ssw0rd!
```