-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
59 lines (53 loc) · 1.47 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3'
networks:
bibbox-default-network:
external: true
services:
dev-redcap-db:
image: mariadb:10.6
container_name: dev-redcap-db
restart: unless-stopped
networks:
- bibbox-default-network
environment:
- MYSQL_ROOT_PASSWORD=thispasswordisneverusedeveninsidethecontainer
- MYSQL_DATABASE=redcap
- MYSQL_USER=redcap
- MYSQL_PASSWORD=redcap4bibbox
volumes:
- ./data/mysql:/var/lib/mysql
- ./data/config/mariadb.cnf:/etc/mysql/conf.d/mariadb.cnf
dev-redcap-apache:
image: bibbox/redcap:v10-8-4
command: "/bin/sh -c 'exec apache2-foreground'"
container_name: dev-redcap-apache
restart: unless-stopped
networks:
- bibbox-default-network
links:
- dev-redcap-db:redcap-db
ports:
- "8080:80"
volumes:
- ./data/html:/var/www/html
- ./data/user-uploaded-documents:/opt/uploads
- ./data/config/php-extensin.ini:/usr/local/etc/php/conf.d/php-extensin.ini
- ./data/config/msmtprc:/etc/msmtprc
environment:
- DATABASE=redcap
- DB_USER=redcap
- DB_PASSWORD=redcap4bibbox
bibbox-adminer:
image: adminer:4.8.1
container_name: bibbox-redcap-adminer
networks:
- bibbox-default-network
links:
- dev-redcap-db:db
restart: unless-stopped
ports:
- "8096:8080"
environment:
ADMINER_DEFAULT_DB_DRIVER: mysql
ADMINER_DEFAULT_DB_HOST: db
ADMINER_DEFAULT_DB_NAME: redcap