forked from strongbox/strongbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (42 loc) · 1.42 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3'
services:
strongbox-from-web-core:
image: strongboxci/alpine:jdk8-mvn3.6
command:
- /bin/bash
- -c
- |
echo ""
echo "[NOTICE] This will take at least 2 to 5 minutes to start depending on your machine and connection!"
echo ""
echo " Open http://localhost:48080/storages to browse the repository contents."
echo ""
sleep 5
mkdir -p /workspace/.m2/repositories
mvn clean install -DskipTests
cd strongbox-web-core
mvn spring-boot:run
ports:
- 48080:48080
volumes:
- $HOME/.m2/repository:/home/jenkins/.m2/repository
- ./:/workspace
working_dir: /workspace
openldap:
image: osixia/openldap:1.3.0
ports:
- 53389:389
environment:
- LDAP_BACKEND=bdb
# uid=admin,ou=system,dc=carlspring,dc=com
- LDAP_ADMIN_PASSWORD=secret
- LDAP_READONLY_USER=false
- LDAP_DOMAIN=carlspring.com
# Check http://www.openldap.org/doc/admin24/slapdconf2.html for increased level of logging
- LDAP_LOG_LEVEL=256
- LDAP_ORGANISATION=Strongbox
- LDAP_RFC2307BIS_SCHEMA=true
- LDAP_TLS=false
volumes:
- ./strongbox-security/strongbox-authentication-providers/strongbox-ldap-authentication-provider/src/test/resources:/container/service/slapd/assets/config/bootstrap/ldif/custom
command: --copy-service --loglevel trace