forked from sameersbn/docker-akaunting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (43 loc) · 1.01 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
version: '2'
services:
mysql:
restart: always
image: sameersbn/mysql:5.7.24
environment:
- DB_USER=akaunting
- DB_PASS=password
- DB_NAME=akaunting_db
volumes:
- /srv/docker/akaunting/mysql:/var/lib/mysql
akaunting:
restart: always
image: sameersbn/akaunting:1.3.9
command: app:akaunting
environment:
- DEBUG=false
- TZ=Asia/Kolkata
- DB_HOST=mysql
- DB_USER=akaunting
- DB_PASS=password
- DB_NAME=akaunting_db
- AKAUNTING_URL=http://localhost:10080
- AKAUNTING_COMPANY_NAME=
- AKAUNTING_COMPANY_EMAIL=
- AKAUNTING_ADMIN_EMAIL=
- AKAUNTING_ADMIN_PASSWORD=
- AKAUNTING_BACKUPS_EXPIRY=0
depends_on:
- mysql
volumes:
- /srv/docker/akaunting/akaunting:/var/lib/akaunting
nginx:
restart: always
image: sameersbn/akaunting:1.3.9
command: app:nginx
environment:
- AKAUNTING_PHP_FPM_HOST=akaunting
- AKAUNTING_PHP_FPM_PORT=9000
depends_on:
- akaunting
ports:
- "10080:80"