-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
44 lines (39 loc) · 932 Bytes
/
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
43
44
# WEBTREES DOCKER COMPOSE
#
# start http://localhost:10088
#
version: '2'
services:
webtrees:
# build:
# context: ./webtrees
image: quadstingray/webtrees:2.2.1
container_name: webtrees2
links:
- webtrees-mysql:webtrees-mysql
ports:
- "10088:80"
depends_on:
- webtrees-mysql
- webtrees-data-volumes
volumes_from:
- webtrees-data-volumes
webtrees-mysql:
image: mysql:8.0
container_name: webtrees-mysql
user: root
environment:
- MYSQL_ROOT_PASSWORD=mustnotchange
- MYSQL_DATABASE=webtrees
- MYSQL_USER=webtrees
- MYSQL_PASSWORD=mustnotchange
volumes_from:
- webtrees-data-volumes
depends_on:
- webtrees-data-volumes
webtrees-data-volumes:
image: busybox
container_name: webtrees-volumes
volumes:
- ./mysql:/var/lib/mysql
- ./genealogy/Data:/var/www/html/data