-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (52 loc) · 1.28 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
version: "3.7"
services:
api:
build:
context: .
dockerfile: config/development/api.Dockerfile
volumes:
- ./api:/app
command: yarn start
environment:
DEVISE_JWT_SECRET_KEY: deab299ab0569d6b581a24ee2ac41d8a67471f4daf141cc4f7c3aec53c3bbe7974678ce93c9f4cad9912269a7b57af04a29ad2bad236a7132725afef377e2ed8
GOOGLE_CLIENT_ID: 793996297325-qoquhe2ggllemu7mg74i7fuj8k081eu2.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET: 7LHsxtJQ7DMSvJ0sJS0Eoj_c
FRONTEND_APP_URL: http://localhost:3000
tty: true
stdin_open: true
depends_on:
- db
db:
image: mysql:5.7
restart: unless-stopped
environment:
MYSQL_DATABASE: 'org_manager'
MYSQL_USER: 'root'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: ''
ports:
- '3306:3306'
volumes:
- my-db:/var/lib/mysql
logging:
driver: none
app:
build:
context: .
dockerfile: config/development/app.Dockerfile
volumes:
- ./app:/app
command: yarn start
environment:
REACT_APP_API_URL: http://localhost:3000/api/v1
h2o:
image: datarockets/h2o
volumes:
- ./config/development/h2o.yml:/h2o/config.yml
ports:
- "3000:80"
depends_on:
- api
- app
volumes:
my-db: