Update docker-compose.yaml
This commit is contained in:
parent
46657f6185
commit
904a6f4f11
@ -5,7 +5,7 @@ services:
|
|||||||
image: dockurr/samba
|
image: dockurr/samba
|
||||||
container_name: samba
|
container_name: samba
|
||||||
environment:
|
environment:
|
||||||
USER: "embedika"
|
USER: "user"
|
||||||
PASS: "P@ssw0rd!"
|
PASS: "P@ssw0rd!"
|
||||||
ports:
|
ports:
|
||||||
- "445:445"
|
- "445:445"
|
||||||
@ -22,4 +22,5 @@ services:
|
|||||||
- /srv/http_share:/usr/share/nginx/html:ro
|
- /srv/http_share:/usr/share/nginx/html:ro
|
||||||
- /srv/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
- /srv/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
- /srv/.htpasswd:/etc/nginx/.htpasswd:ro
|
- /srv/.htpasswd:/etc/nginx/.htpasswd:ro
|
||||||
|
# Для генерации связки юзер:пароль использовать htpasswd -c /srv/.htpasswd user
|
||||||
restart: always
|
restart: always
|
||||||
Loading…
x
Reference in New Issue
Block a user