forked from beepnl/BEEP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
108 lines (95 loc) · 2.6 KB
/
docker-compose.yaml
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
version: '3.3'
services:
mysql:
image: mysql:5.7
volumes:
- mysql_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: kuchen42
MYSQL_DATABASE: bee_data
MYSQL_USER: user
MYSQL_PASSWORD: pass
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 20s
retries: 10
influxdb:
image: influxdb:1.5.4-alpine
volumes:
- influx_data:/var/lib/influxdb
healthcheck:
test: "ln -sf /bin/busybox /bin/wget && /bin/wget -q -Y off http://localhost:8086/metrics -O /dev/null > /dev/null 2>&1"
interval: 25s
timeout: 3s
restart: always
environment:
INFLUXDB_DB: bee_data
INFLUXDB_USER: user_influx
INFLUXDB_USER_PASSWORD: pass_influx
beep:
image: beep:dev
restart: always
stdin_open: true
tty: true
ports:
- "8000:80"
volumes:
- storage_data:/var/www/html/storage
depends_on:
- mysql
- influxdb
environment:
APP_ENV: local
APP_KEY: ohb0jaFa8joceeDaiW3Ohcho0oMaikae # Random key with 32 characters
APP_DEBUG: "true"
APP_URL: http://localhost:8000/
APP_NAME: BEEP
API_URL: http://localhost:8000/api/
LOG_CHANNEL: stack
DB_CONNECTION: mysql
DB_HOST: mysql
DB_PORT: 3306
DB_DATABASE: bee_data
DB_USERNAME: user
DB_PASSWORD: pass
DB_DATABASE_BACKUP: bee_backup
DB_USERNAME_BACKUP: user
DB_PASSWORD_BACKUP: pass
LARAVEL_INFLUX_PROVIDER_PROTOCOL: http
LARAVEL_INFLUX_PROVIDER_USER: user_influx
LARAVEL_INFLUX_PROVIDER_PASSWORD: pass_influx
LARAVEL_INFLUX_PROVIDER_HOST: influxdb
LARAVEL_INFLUX_PROVIDER_PORT: 8086
LARAVEL_INFLUX_PROVIDER_DATABASE: bee_data
BROADCAST_DRIVER: log
CACHE_DRIVER: array
QUEUE_CONNECTION: sync
SESSION_DRIVER: file
SESSION_LIFETIME: 120
REDIS_HOST: 127.0.0.1
REDIS_PASSWORD: null
REDIS_PORT: 6379
MAIL_DRIVER: smtp
MAIL_HOST:
MAIL_PORT:
MAIL_USERNAME:
MAIL_PASSWORD:
MAIL_ENCRYPTION: ssl
MAIL_FROM_ADDRESS:
MAIL_FROM_NAME:
PUSHER_APP_ID:
PUSHER_KEY:
PUSHER_SECRET:
PUSHER_APP_CLUSTER: mt1
MIX_PUSHER_APP_KEY: "${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER: "${PUSHER_APP_CLUSTER}"
DEBUGBAR_ENABLED: "false"
WEBAPP_URL: "http://localhost:8000/webapp#!/"
WEBAPP_EMAIL_VERIFY_URL: login
WEBAPP_PASSWORD_RESET_URL: "login/reset/"
GOOGLE_MAPS_KEY:
volumes:
mysql_data: {}
influx_data: {}
storage_data: {}