-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.docker-compose.yaml
44 lines (36 loc) · 984 Bytes
/
sample.docker-compose.yaml
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
version: '3'
services:
proxy:
image: bounceytaylor/freecodecamp-proxy
ports:
- 80:80
- 443:443
links:
- 'freecodecamp:freecodecamp'
volumes:
- /etc/letsencrypt:/etc/ssl
- ./www:/var/www
environment:
FORUM_PROXY_ADDRESS: http://your-server-ip
freecodecamp:
restart: always
image: bounceytaylor/freecodecamp-api
ports:
- 3000:3000
environment:
PORT: 3000
MONGOHQ_URL: 'mongodb://localhost:27017/freecodecamp'
ROLLBAR_APP_ID: my-rollbar-app-id
AUTH0_CLIENT_ID: appId
AUTH0_CLIENT_SECRET: secret
AUTH0_DOMAIN: my-domain.example.com
SESSION_SECRET: secretstuff
COOKIE_DOMAIN: .example.com
COOKIE_SECRET: 'this is a secret'
JWT_SECRET: 'a very long secret'
STRIPE_PUBLIC: pk_from_stipe_dashboard
STRIPE_SECRET: sk_from_stipe_dashboard
PAYPAL_SUPPORTERS: 1703
PEER: stuff
DEBUG: null
NODE_ENV: production