-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (46 loc) · 1.14 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:
api:
build:
context: .
dockerfile: Dockerfile
environment:
- PORT=3000
- AWS_S3_BUCKET_NAME=
- ACCESS_KEY_ID=
- SECRET_ACCESS_KEY=
- cdnUrl=https://musice.s3.us-east-1.amazonaws.com/
- PORT=4000
- cloud_name=dwpo5xilm
- api_key=361555244244134
- api_secret=tPdPzI6LPvRQPjr7tbiPrlTcpSU
- GOOGLE_CLIENT_ID=dasdas
- GOOGLE_CLIENT_SECRET=dasdas
- CALL_BACK_URI=asdasd
- FACEBOOK_CLIENT_ID=880132266126578
- FACEBOOK_SECRET_ID=b060775fc2e0eb48841b2ca37c389249
- CALL_BACK_URI=dasdas
- secretKey=sometextformme
- expiresIn=10hr
- DATABASE_HOST=localhost
- DATABASE_PORT=5432
- DATABASE_USER=postgres
- DATABASE_DB=music_app
- DATABASE_PASSWORD=postgress
PORT=3000
ports:
- 3000:3000
depends_on:
- postgres
links:
- postgres:postgres
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
command: npm run dev
postgres:
image: postgres:alpine
restart: always
environment:
- DB_USER=postgres
- DB_PASS=postgress