forked from ambainteligence/bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (39 loc) · 888 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
version: '2'
services:
db:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: trading
volumes:
- './.data/mysql:/var/lib/mysql'
client_app:
build: ./client/build/app
ports:
- 83:80
volumes:
- ./client:/app
links:
- db
depends_on:
- db
websocket_app:
build: ./websocket/build/app
ports:
- 84:80
volumes:
- ./websocket:/app
- ./ws-init.sh:/usr/local/bin/apache2-custom.sh
links:
- db
depends_on:
- db
testsocket_app:
build: ./testsocket/build/app
ports:
- 85:80
volumes:
- ./testsocket:/app
links:
- db
# command: ["/app/ws-init.sh"]