-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathdocker-compose.yml
77 lines (69 loc) · 1.67 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
66
67
68
69
70
71
72
73
74
75
76
77
version: '3'
services:
mysql:
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: dreamfactory
MYSQL_USER: df_admin
MYSQL_PASSWORD: df_admin
image: mysql:5.7
volumes:
- df-mysql:/var/lib/mysql
example_data:
environment:
DATASETS: pagila
POSTGRES_PASSWORD: root_pw
image: aa8y/postgres-dataset
redis:
image: redis
web:
depends_on:
- mysql
environment:
SERVERNAME: dreamfactory.local
# HTTPS_HEADER: "on"
# APP_KEY: YOUR_APP_KEY
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
# APP_LOG_LEVEL: debug
# LOG_TO_STDOUT: "true"
# APP_DEBUG: "true"
# Uncomment and configure to enable emailing
# SENDMAIL_DEFAULT_COMMAND: "/usr/sbin/sendmail -t"
# SSMTP_root:
# SSMTP_mailhub:
# SSMTP_AuthUser:
# SSMTP_AuthPass:
# SSMTP_UseSTARTTLS:
# SSMTP_UseTLS:
# SSMTP_AuthMethod:
# SSMTP_FromLineOverride:
# Uncomment to enable Logs DB
# LOGSDB_HOST: logsdb
# LOGSDB_DATABASE: access_log
# LOGSDB_USERNAME: mongoadmin
# LOGSDB_PASSWORD: password
# LOGSDB_ENABLED: "true"
volumes:
- df-storage:/opt/dreamfactory/storage
build: .
ports:
- "80:80"
# Uncomment to enable Logs DB
# logsdb:
# image: mongo:4.0-xenial
# environment:
# MONGO_INITDB_ROOT_USERNAME: mongoadmin
# MONGO_INITDB_ROOT_PASSWORD: password
volumes:
df-storage:
driver: local
df-mysql:
driver: local