-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathcompose.yaml
More file actions
41 lines (38 loc) · 839 Bytes
/
compose.yaml
File metadata and controls
41 lines (38 loc) · 839 Bytes
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
# This compose file starts a LDAP directory and a Web server
#
services:
ldap:
build:
context: .
dockerfile: ./packaging/docker/dev/Dockerfile.ldap
ports:
- ${LDAP_PORT:-3890}:389
volumes:
- ldap-data:/var/lib/ldap
ulimits:
nofile: 1024
composer:
build:
context: .
dockerfile: ./packaging/docker/Dockerfile
target: develop
volumes:
- ./:/app
working_dir: /app/
command: composer update
app:
build:
context: .
dockerfile: ./packaging/docker/Dockerfile
target: develop
ports:
- ${APP_PORT:-8080}:80
volumes:
- ./htdocs/:/var/www/htdocs/
- ./conf/:/var/www/conf/
- ./templates/:/var/www/templates/
- ./lang/:/var/www/lang/
- vendor:/var/www/vendor/
volumes:
ldap-data:
vendor: