forked from QuadStingray/docker-webtrees
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
62 lines (59 loc) · 1.5 KB
/
docker-compose.yml
File metadata and controls
62 lines (59 loc) · 1.5 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
50
51
52
53
54
55
56
57
58
59
60
61
62
services:
app:
image: ghcr.io/nathanvaughn/webtrees:latest
container_name: webtrees
ports:
- 10088:80
# - 443:443
depends_on:
- db
environment:
PRETTY_URLS: "1"
HTTPS: "0"
HTTPS_REDIRECT: "0"
LANG: "en-US"
BASE_URL: "http://localhost:10088"
DB_TYPE: "mysql"
DB_HOST: "db"
DB_PORT: "3306"
DB_USER: "webtrees"
DB_PASS: "baddbpassword"
DB_NAME: "webtrees"
DB_PREFIX: "wt_"
WT_USER: "georg"
WT_NAME: "Hans Georg Schaathun"
WT_PASS: "badwtpassword"
WT_EMAIL: "hg+slekt@schaathun.net"
PUID: "1001"
PGID: "1001"
restart: unless-stopped
volumes:
# - ~/certs:/certs/
- ./genealogy/:/var/www/webtrees/data
- ./media/:/var/www/webtrees/media
db:
image: docker.io/library/mariadb:11
container_name: webtrees-db
environment:
MARIADB_DATABASE: "webtrees"
MARIADB_USER: "webtrees"
MARIADB_ROOT_PASSWORD: "badrootpassword"
MARIADB_PASSWORD: "baddbpassword"
# See: https://github.com/NathanVaughn/webtrees-docker/issues/145
restart: unless-stopped
volumes:
- ./db:/var/lib/mysql
# db:
# environment:
# POSTGRES_DB: "webtrees"
# POSTGRES_USER: "webtrees"
# POSTGRES_PASSWORD: "badpassword"
# image: docker.io/library/postgres:latest
# restart: unless-stopped
# volumes:
# - db_data:/var/lib/postgresql/data
volumes:
db_data:
driver: local
app_data:
driver: local