forked from emadshaaban92/docker-compose-erpnext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanage.yml
60 lines (53 loc) · 1.43 KB
/
manage.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
version: '2'
services:
setup:
image: bizzotech/erpnext:${ERPNEXT_VERSION}
container_name: ${CONTAINER_NAME_PREFIX}-setup
volumes:
- './sites:/home/frappe/frappe-bench/sites'
depends_on:
- db
command: setup
update:
image: bizzotech/erpnext:${ERPNEXT_VERSION}
container_name: ${CONTAINER_NAME_PREFIX}-update
volumes:
- './sites:/home/frappe/frappe-bench/sites'
depends_on:
- db
command: update
backup:
image: bizzotech/erpnext:${ERPNEXT_VERSION}
container_name: ${CONTAINER_NAME_PREFIX}-backup
volumes:
- './sites:/home/frappe/frappe-bench/sites'
depends_on:
- db
command: backup
restore:
image: bizzotech/erpnext:${ERPNEXT_VERSION}
container_name: ${CONTAINER_NAME_PREFIX}-restore
volumes:
- './sites:/home/frappe/frappe-bench/sites'
depends_on:
- db
command: restore
migrate:
image: bizzotech/erpnext:${ERPNEXT_VERSION}
container_name: ${CONTAINER_NAME_PREFIX}-migrate
volumes:
- './sites:/home/frappe/frappe-bench/sites'
depends_on:
- db
command: migrate
db:
image: mariadb:latest
container_name: ${CONTAINER_NAME_PREFIX}-db
volumes:
- './config/my.cnf:/etc/mysql/conf.d/frappe.cnf'
- './dataVolume:/var/lib/mysql'
environment:
- MYSQL_ROOT_PASSWORD=asdfasdfasdf
- MYSQL_USER=frappe
- MYSQL_PASSWORD=frappe
- MYSQL_DATABASE=frappe