-
Notifications
You must be signed in to change notification settings - Fork 51
/
docker-compose.yml
48 lines (43 loc) · 1.03 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
version: '2'
services:
mysql:
restart: always
image: sameersbn/mysql:5.2.26
environment:
- DB_USER=invoiceplane
- DB_PASS=password
- DB_NAME=invoiceplane_db
volumes:
- /srv/docker/invoiceplane/mysql:/var/lib/mysql
invoiceplane:
restart: always
image: sameersbn/invoiceplane:1.5.9-3
command: app:invoiceplane
environment:
- DEBUG=false
- TZ=Asia/Kolkata
- DB_TYPE=mysqli
- DB_HOST=mysql
- DB_USER=invoiceplane
- DB_PASS=password
- DB_NAME=invoiceplane_db
- INVOICEPLANE_URL=http://localhost:10080
- INVOICEPLANE_PROXY_IPS=
- INVOICEPLANE_BACKUPS_EXPIRY=0
depends_on:
- mysql
volumes:
- /srv/docker/invoiceplane/invoiceplane:/var/lib/invoiceplane
nginx:
restart: always
image: sameersbn/invoiceplane:1.5.9-3
command: app:nginx
environment:
- INVOICEPLANE_PHP_FPM_HOST=invoiceplane
- INVOICEPLANE_PHP_FPM_PORT=9000
depends_on:
- invoiceplane
ports:
- "10080:80"
volumes_from:
- invoiceplane