forked from phabricator-docker/phabricator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (46 loc) · 929 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
46
version: '3'
services:
proxy:
image: jwilder/nginx-proxy:alpine-0.7.0
ports:
- 80:80
- 443:443
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./certs:/etc/nginx/certs
networks:
- proxy
phabricator:
build: ./
image: blindsteal/phabricator
# use this to debug the entrypoint script inside the container
# entrypoint: tail -f /dev/null
env_file:
- docker/env/phabricator.env
- docker/env/db.env
volumes:
- repos:/var/repo
- files:/var/file
links:
- db
networks:
- proxy
- backend
ports:
- 2222:2222
db:
image: mysql:5.7.23
env_file:
- docker/env/db.env
volumes:
- db_data:/var/lib/mysql
- ./docker/conf/mysql/phabricator.cnf:/etc/mysql/conf.d/phabricator.cnf
networks:
- backend
networks:
backend:
proxy:
volumes:
files:
repos:
db_data: