-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (37 loc) · 946 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.4'
services:
server:
build:
context: .
args:
- NODE_ENV=${NODE_ENV}
target: base
command: yarn api:dev
ports:
- 3333:3333
environment:
- GOOGLE_APPLICATION_CREDENTIALS=${GOOGLE_APPLICATION_CREDENTIALS}
- GOOGLE_PROJECT_ID=${GOOGLE_PROJECT_ID}
- SERVER_URL=${SERVER_URL}
- AWS_SECRET_KEY=${AWS_SECRET_KEY}
- AWS_ACCESS_KEY=${AWS_ACCESS_KEY}
- AWS_BUCKET_NAME=${AWS_BUCKET_NAME}
volumes:
- .:/usr/app/src
- /usr/app/src/node_modules
restart: always
bot:
build:
context: .
args:
- NODE_ENV=${NODE_ENV}
target: base
command: yarn bot:dev
environment:
- BOT_TOKEN=${BOT_TOKEN}
- GOOGLE_APPLICATION_CREDENTIALS=${GOOGLE_APPLICATION_CREDENTIALS}
- GOOGLE_PROJECT_ID=${GOOGLE_PROJECT_ID}
volumes:
- .:/usr/app/src
- /usr/app/src/node_modules
restart: always