-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
45 lines (41 loc) · 973 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
45
version: '3.7'
services:
ph-web:
image: rivshiell/phabricator-docker:latest
restart: always
ports:
- "2222:2222"
- "80:80"
depends_on:
- ph-database
environment:
- MYSQL_HOST=ph-database
- MYSQL_PORT=3306
- MYSQL_USER=root
- MYSQL_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MINIO_SERVER_ACCESS_KEY=minio
- MINIO_SERVER_SECRET_KEY=minio123
- BASE_URI=${BASE_URI}
volumes:
- ph-repo:/var/repo
ph-database:
image: mariadb:10.5.1
restart: always
volumes:
- database-volume:/var/lib/mysql
- ./configs/my.cnf:/etc/mysql/my.cnf
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
ph-storage:
image: minio/minio
restart: always
command: server /data
volumes:
- storage-server:/data
environment:
- MINIO_ACCESS_KEY=minio
- MINIO_SECRET_KEY=minio123
volumes:
database-volume:
storage-server:
ph-repo: