-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
37 lines (35 loc) · 1013 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: '3.3'
services:
frontend:
container_name: utps_frontend
ports:
- '3000:3000'
stdin_open: true
build:
context: ./
dockerfile: ./Dockerfile.frontend
networks:
- network
volumes:
- type: bind
source: .
target: /utility-token-price-simulator
command: ["/bin/sh", "-c", "cd /utility-token-price-simulator/frontend && npm install && npm start"]
server:
container_name: utps_server
ports:
- '5000:5000'
stdin_open: true
build:
context: ./
dockerfile: ./Dockerfile.server
networks:
- network
volumes:
- type: bind
source: .
target: /utility-token-price-simulator
command: ["/bin/sh", "-c", "cd /utility-token-price-simulator && python3 server/server.py"]
networks:
network:
external: true