-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 1.31 KB
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 1.31 KB
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
46
47
48
49
version: '3.2'
services:
git:
build:
context: docker/user
args:
KRW_IMG: alpine/git:latest
KRW_UID: "${KRW_UID:-6789}"
KRW_GID: "${KRW_GID:-6789}"
volumes:
- .:${KRW_CODE:-/code}
user: "${KRW_UID:-6789}:${KRW_GID:-6789}"
php-cli:
build:
context: docker/user
args:
KRW_IMG: "korowai/php:${KRW_PHP_TAG:-cli}"
KRW_UID: "${KRW_UID:-6789}"
KRW_GID: "${KRW_GID:-6789}"
volumes:
- .:${KRW_CODE:-/code}
user: "${KRW_UID:-6789}:${KRW_GID:-6789}"
php-test:
build:
context: docker/user
args:
KRW_IMG: "korowai/php:${KRW_PHP_TAG:-cli}"
KRW_UID: "${KRW_UID:-6789}"
KRW_GID: "${KRW_GID:-6789}"
depends_on:
- ldap-service
volumes:
- .:${KRW_CODE:-/code}
user: "${KRW_UID:-6789}:${KRW_GID:-6789}"
entrypoint: [ "dockerize", "-wait", "tcp://ldap-service:389", "-timeout", "10s" ]
http-service:
image: "korowai/php:${KRW_APACHE_TAG:-apache}"
volumes:
- .:/korowai
working_dir: /korowai
ldap-service:
command: [ --copy-service, --loglevel, debug]
image: "korowai/openldap:${KRW_OPENLDAP_TAG:-latest}"
volumes:
- ./packages/ldaplib/Resources/ldif/bootstrap.ldif:/container/service/slapd/assets/config/bootstrap/ldif/50-bootstrap.ldif