-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 1.02 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
services:
web:
build: docker/web
ports:
- "80:80"
volumes:
- ./www:/var/www/html
- ./docker/config/roslogin-connect.php:/var/www/html/www.reactos.org_config/roslogin-connect.php
- ./docker/config/testman-connect.php:/var/www/html/www.reactos.org_config/testman-connect.php
- ./docker/config/gitinfo-connect.php:/var/www/html/www.reactos.org_config/gitinfo-connect.php
- ./docker/parts:/srv/www/www.reactos.org_content/parts:ro
depends_on:
db:
condition: service_healthy
ldap:
condition: service_started
db:
image: mysql:8.0
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
volumes:
- ./docker/mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
- db_data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 5s
timeout: 5s
retries: 10
ldap:
build:
context: .
dockerfile: docker/ldap/Dockerfile
ports:
- "389:389"
volumes:
db_data: