-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (49 loc) · 1009 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
38
39
40
41
42
43
44
45
46
47
48
49
version: '1'
services:
popup:
build:
context: ./widget
dockerfile: Dockerfile
container_name: streampay-onramp-popup
ports:
- "7000:3000"
depends_on:
- db
- backend
platform:
build:
context: ./platform
dockerfile: Dockerfile
container_name: streampay-onramp-popup
ports:
- "7000:3000"
depends_on:
- db
- backend
backend:
build:
context: ./api
dockerfile: Dockerfile
container_name: streampay-onramp-api
ports:
- "7010:3000"
environment:
DB_HOST: localhost
DB_PORT: 7306
MYSQL_USER: root
MYSQL_PASSWORD: password
MYSQL_DATABASE: mydb
DB_NAME: mydb
JWT_SECRET:
APP_HOST: localhost:7010
ZEPTOMAIL_TOKEN:
MASTER_ADDRESS:
MASTER_KEY:
db:
image: mysql:5.7
container_name: streampay-onramp-db
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: mydb
ports:
- "7306:3306"