forked from MrFriendly-B-V/wilford
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (60 loc) · 1.41 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
version: '3.2'
services:
mariadb-wilford:
image: mariadb
volumes:
- "./tmp/mariadb-wilford:/var/lib/mysql"
environment:
- "MARIADB_ROOT_PASSWORD=123"
- "MARIADB_USER=wilford"
- "MARIADB_PASSWORD=wilford"
- "MARIADB_DATABASE=wilford"
mariadb-espocrm:
image: mariadb
volumes:
- "./tmp/mariadb-espocrm:/var/lib/mysql"
environment:
- "MARIADB_ROOT_PASSWORD=123"
- "MARIADB_USER=espocrm"
- "MARIADB_PASSWORD=espocrm"
- "MARIADB_DATABASE=espocrm"
wilford:
build:
context: server
dockerfile: Dockerfile
ports:
- "2521:8080"
environment:
- "CONFIG_PATH=/config.json"
volumes:
- "./config.json:/config.json"
depends_on:
- "mariadb-wilford"
ui:
build:
context: ui
dockerfile: Dockerfile
ports:
- "2522:80"
docs:
build:
context: docs
dockerfile: Dockerfile
ports:
- "2523:80"
espocrm:
image: espocrm/espocrm
ports:
- "2524:80"
environment:
- "ESPOCRM_DATABASE_HOST=mariadb-espocrm"
- "ESPOCRM_DATABASE_USER=espocrm"
- "ESPOCRM_DATABASE_PASSWORD=espocrm"
- "ESPOCRM_DATABASE_NAME=espocrm"
- "ESPOCRM_ADMIN_USERNAME=admin"
- "ESPOCRM_ADMIN_PASSWORD=admin"
- "ESPOCRM_SITE_URL=http://localhost:2524"
volumes:
- "./tmp/espocrm:/var/www/html"
depends_on:
- mariadb-espocrm