blob: c020a971af7506770993571fa2a17355e2973f6c (
plain)
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
43
44
45
|
services:
openldap:
image: bitnami/openldap:latest
ports:
- '1389:1389'
- '1636:1636'
environment:
- LDAP_ADMIN_USERNAME=admin
- LDAP_ADMIN_PASSWORD=adminpassword
- LDAP_USERS=user01,user02
- LDAP_PASSWORDS=password1,password2
volumes:
- 'openldap_data:/bitnami/openldap'
mariadb:
image: mariadb:latest
ports:
- '3306:3306'
environment:
- MARIADB_USER=eyeballs
- MARIADB_PASSWORD=secret
- MARIADB_DATABASE=eyeballs
- MARIADB_ROOT_PASSWORD=verysecret
volumes:
- 'mariadb_data:/var/lib/mysql'
git:
image: rockstorm/git-server:latest
environment:
- SSH_AUTH_METHODS=publickey
ports:
- '2222:22'
volumes:
- '${PWD}/git/authorized_keys:/home/git/.ssh/authorized_keys'
- 'git_repos:/srv/git'
volumes:
openldap_data:
driver: local
mariadb_data:
driver: local
git_repos:
driver: local
driver_opts:
o: bind
type: none
device: git/repos
|