-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
63 lines (62 loc) · 2.97 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
52
53
54
55
56
57
58
59
60
61
62
63
version: '3'
services:
web:
build: .
links:
- db
volumes:
- .:/app
ports:
- "4000:4000" # our server
- "9229:9229" # node-inspector
environment:
PORT: "4000"
NODE_ENV: "development"
DATABASE_URL: "postgres://postgres@db/postgres"
GITHUB_API_URL: "https://api.github.com"
BCRYPT_ROUNDS: 6,
JWT_ISSUER: "https://github.com/nemtsov/express-starter"
JWT_PUBLIC_KEY: |
-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAqZWtiqDPE919zt7PVKSGmFGviO4a0T0zET13U4bi3fnmWWDHOMPn
/Epi6PCWuTAs7VRddtRGQoI/Rs2dLUpZSgxD8id/2Iv7mbGoHVIqqItMN0C155i/
B9/eTn5r5Tbi7SEl+FtOZzvrw86erhPMPHtaawrQiLj/eoOsx7pIzy78VGrxEHBp
J3tUWt4NFPffig2hM7df8xPOvbkcRkZqPZk8P+SiwxGSpIIwSwNG7sJfpJx9tSmh
Pg0pyr8kjUDKHhr3Di5cbZAWqtF7gctOlVLyMwzhwRPiQuDaSqCNsTEEYa7lRvyS
hFojJKa/9ReKfW4aF3R2o2W3xpIfbN5G8wIDAQAB
-----END RSA PUBLIC KEY-----
# THE "PRIVATE" KEY BELOW IS ONLY USED IN DEVELOPMENT
JWT_PRIVATE_KEY: |
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAqZWtiqDPE919zt7PVKSGmFGviO4a0T0zET13U4bi3fnmWWDH
OMPn/Epi6PCWuTAs7VRddtRGQoI/Rs2dLUpZSgxD8id/2Iv7mbGoHVIqqItMN0C1
55i/B9/eTn5r5Tbi7SEl+FtOZzvrw86erhPMP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