Files
metasploit-gs/test/ldap/docker-compose.yml
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
513 B
YAML
Raw Normal View History

2024-04-24 11:24:46 +01:00
services:
ldap:
tty: true
network_mode: bridge
hostname: ldap.example.com
ports:
- "389:389"
- "636:636"
cap_add:
- SYS_ADMIN
environment:
SMB_ADMIN_PASSWORD: admin123!
volumes:
- ./:/opt/ad-scripts
healthcheck:
test: ldapsearch -x -H ldap://localhost:389 -b '' -D DEV-AD\\Administrator -w admin123! -s base
interval: 10s
timeout: 5s
retries: 5
start_period: 5s
build:
context: .
dockerfile: Dockerfile