2017-07-18 09:00:58 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
mariadb:
|
|
|
|
image: "mariadb"
|
|
|
|
environment:
|
2017-07-24 08:52:16 +00:00
|
|
|
- MYSQL_ROOT_PASSWORD=${DB_PASS}
|
2017-07-18 09:00:58 +00:00
|
|
|
- MYSQL_USER=root
|
|
|
|
volumes:
|
|
|
|
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
|
|
|
|
|
|
|
redis:
|
|
|
|
image: "redis:alpine"
|
|
|
|
|
|
|
|
frappe:
|
2017-07-24 08:52:16 +00:00
|
|
|
volumes:
|
|
|
|
- ./frappe:/home/frappe
|
2017-07-18 09:00:58 +00:00
|
|
|
build: .
|
|
|
|
ports:
|
2017-07-24 08:52:16 +00:00
|
|
|
- "8000:8000"
|
2017-07-18 09:00:58 +00:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
2017-07-20 11:48:19 +00:00
|
|
|
links:
|
|
|
|
- redis
|
|
|
|
- mariadb
|
2017-07-18 09:00:58 +00:00
|
|
|
depends_on:
|
2017-07-20 11:48:19 +00:00
|
|
|
- mariadb
|
|
|
|
- redis
|
2017-07-24 08:52:16 +00:00
|
|
|
|