forked from ushahidi/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (37 loc) · 894 Bytes
/
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
version: "2"
services:
mysql:
image: mysql:5.6
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: ushahidi
MYSQL_USER: ushahidi
MYSQL_PASSWORD: ushahidi
platform:
build: .
environment:
DOCKERIZE_WAIT_FOR_mysql: tcp://mysql:3306
ENABLE_NGINX: "true"
ENABLE_PHPFPM: "true"
ENABLE_PLATFORM_TASKS: "false"
RUN_PLATFORM_MIGRATIONS: "true"
DB_NAME: ushahidi
DB_HOST: mysql
DB_USER: ushahidi
DB_PASS: ushahidi
command: start
ports:
- "80:8080"
platform_tasks:
build: .
environment:
DOCKERIZE_WAIT_FOR_mysql: tcp://mysql:3306
ENABLE_NGINX: "false"
ENABLE_PHPFPM: "false"
ENABLE_PLATFORM_TASKS: "true"
RUN_PLATFORM_MIGRATIONS: "false"
DB_NAME: ushahidi
DB_HOST: mysql
DB_USER: ushahidi
DB_PASS: ushahidi
command: start