-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
43 lines (40 loc) · 1.14 KB
/
docker-compose.dev.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
version: '3.8'
services:
prd:
image: ditto-test:4.0
container_name: 'dev'
ports:
- '3000:3000'
environment:
- RDS_HOST=${RDS_HOST}
- RDS_PORT=${RDS_PORT}
- RDS_USERNAME=${RDS_USERNAME}
- RDS_PASSWORD=${RDS_PASSWORD}
- JWT_SECRET=${JWT_SECRET}
- SESSION_SECRET=${SESSION_SECRET}
- DB_HOST=${DB_HOST}
- DB_PORT=${DB_PORT}
- DB_USERNAME=${DB_USERNAME}
- DB_PASSWORD=${DB_PASSWORD}
- DB_NAME=${DB_NAME}
- NODE_ENV=production
- GITHUB_CLIENT_ID_PRD={GITHUB_CLIENT_ID_PRD}
- GITHUB_CLIENT_SECRET_PRD={GITHUB_CLIENT_SECRET_PRD}
- GITHUB_CLIENT_ID_DEV={GITHUB_CLIENT_ID_DEV}
- GITHUB_CLIENT_SECRET_DEV={GITHUB_CLIENT_SECRET_DEV}
# depends_on:
# - postgres-db
# postgres-db:
# image: postgres:13
# environment:
# - POSTGRES_DB=${DB_NAME}
# - POSTGRES_USER=${DB_USERNAME}
# - POSTGRES_PASSWORD=${DB_PASSWORD}
# - NODE_ENV=${NODE_ENV}
# ports:
# - '5432:5432'
# volumes:
# - pgdata:/var/lib/postgresql/data
# - ./dittoDB2.sql:/docker-entrypoint-initdb.d/dittoDB2.sql
# volumes:
# pgdata: