CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/test/ldap/docker-compose.yml
Views: 1904
1
services:
2
ldap:
3
tty: true
4
network_mode: bridge
5
hostname: ldap.example.com
6
ports:
7
- "389:389"
8
- "636:636"
9
cap_add:
10
- SYS_ADMIN
11
environment:
12
SMB_ADMIN_PASSWORD: admin123!
13
volumes:
14
- ./:/opt/ad-scripts
15
healthcheck:
16
test: ldapsearch -x -H ldap://localhost:389 -b '' -D DEV-AD\\Administrator -w admin123! -s base
17
interval: 10s
18
timeout: 5s
19
retries: 5
20
start_period: 5s
21
build:
22
context: .
23
dockerfile: Dockerfile
24
25