forked from bebehei/orocrm-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (33 loc) · 799 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (33 loc) · 799 Bytes
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
version: '2'
services:
db:
image: mariadb:10.3
volumes:
- ./data/mysql:/var/lib/mysql
environment:
- TZ=${TZ}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_DATABASE=orocrm
- MYSQL_USER=orocrm
- MYSQL_PASSWORD=${ORO_DB_PASS}
web:
build: web
image: bebehei/orocrm
ports:
- "80:80"
- "443:443"
environment:
- TZ=${TZ}
- DOMAIN=${DOMAIN}
- LETSENCRYPT=${LETSENCRYPT}
- ORO_DB_DRIVER=pdo_mysql
- ORO_DB_HOST=db
- ORO_DB_PORT=null
- ORO_DB_NAME=orocrm
- ORO_DB_USER=orocrm
- ORO_DB_PASS=${ORO_DB_PASS}
- ORO_LOCALE=${ORO_LOCALE}
- ORO_SECRET=${ORO_SECRET}
- ORO_INSTALLED=${ORO_INSTALLED}
volumes:
- ./data/letsencrypt:/etc/letsencrypt