Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (31 sloc) 651 Bytes
version: '2'
services:
mysql:
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: dreamfactory
MYSQL_USER: df_admin
MYSQL_PASSWORD: df_admin
image: mysql:5.7
redis:
image: redis
web:
environment:
SERVERNAME: dreamfactory.local
DB_DRIVER: mysql
DB_HOST: mysql
DB_USERNAME: df_admin
DB_PASSWORD: df_admin
DB_DATABASE: dreamfactory
CACHE_DRIVER: redis
CACHE_HOST: redis
CACHE_DATABASE: 0
CACHE_PORT: 6379
volumes:
- df-storage:/opt/dreamfactory/storage
build: .
ports:
- "80:80"
volumes:
df-storage:
driver: local