-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (47 loc) · 1.02 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
version: "3"
services:
################################
#
# Setup node container
#
################################
server:
build: eleven-lab-api
expose:
- ${APP_SERVER_PORT}
environment:
API_HOST: ${API_HOST}
APP_SERVER_PORT: ${APP_SERVER_PORT}
ports:
- ${APP_SERVER_PORT}:${APP_SERVER_PORT}
volumes:
- ./eleven-lab-api/:/usr/app/eleven-lab-api
command: yarn run dev
################################
#
# Setup react container
#
################################
client:
build: eleven-lab-app
environment:
- REACT_APP_PORT=${REACT_APP_PORT}
expose:
- ${REACT_APP_PORT}
ports:
- ${REACT_APP_PORT}:${REACT_APP_PORT}
volumes:
- ./eleven-lab-app/:/usr/app/eleven-lab-app
links:
- server
command: yarn start
################################
#
# Setup postgres container
#
################################
postgres:
image: postgres:9.6.2-alpine
environment:
POSTGRES_PASSWORD: root
POSTGRES_USER: root