This repository was archived by the owner on Sep 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
77 lines (77 loc) · 1.62 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: '2'
services:
php:
build:
context: php
args:
UID: ${UID}
GID: ${GID}
restart: always
volumes:
- ./src:/src:z
- ./data/repo:/var/repo:z
- ./etc/www.conf:/etc/php7/php-fpm.d/www.conf:z
- ./etc/local.json:/src/phabricator/conf/local/local.json:z
networks:
- phabricator
depends_on:
- aphlict
phd:
build:
context: php
args:
UID: ${UID}
GID: ${GID}
restart: always
volumes:
- ./src:/src:z
- ./data/repo:/var/repo:z
- ./etc/www.conf:/etc/php7/php-fpm.d/www.conf:z
- ./etc/local.json:/src/phabricator/conf/local/local.json:z
command: ["/usr/local/bin/phd"]
networks:
- phabricator
depends_on:
- aphlict
aphlict:
build:
context: php
args:
UID: ${UID}
GID: ${GID}
restart: always
volumes:
- ./src:/src:z
- ./etc/local.json:/src/phabricator/conf/local/local.json:z
- ./etc/aphlict.json:/etc/aphlict.json:z
command: ["/usr/local/bin/aphlict"]
networks:
- phabricator
mysql:
build:
context: mysql
args:
UID: ${UID}
GID: ${GID}
restart: always
volumes:
- ./data/mysql:/var/lib/mysql:z
- ./etc/my.cnf:/etc/mysql/conf.d/my.cnf:z
networks:
- phabricator
nginx:
build: nginx
restart: always
volumes:
- ./etc/nginx.conf:/etc/nginx/conf.d/default.conf:z
- ./src:/src:z
networks:
- phabricator
ports:
- ${PORT}:8080
depends_on:
- php
- aphlict
networks:
phabricator:
external: false