-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
38 lines (35 loc) · 1.15 KB
/
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
version: '3'
services:
frontend:
labels:
shipyard.route: '/'
build: 'frontend'
environment:
CI: 'true'
DANGEROUSLY_DISABLE_HOST_CHECK: 'true'
volumes:
- './frontend/src:/srv/src'
ports:
- '3000:3000'
backend:
labels:
shipyard.route: '/api'
build: 'backend'
environment:
AIRTABLE_API_KEY: ${AIRTABLE_API_KEY}
AIRTABLE_BASE_ID: ${AIRTABLE_BASE_ID}
AIRTABLE_VOLUNTEERS_VIEW_NAME: ${AIRTABLE_VOLUNTEERS_VIEW_NAME}
CRYPTO_KEY: ${CRYPTO_KEY}
JWT_PRIVATE_KEY_BASE64: ${JWT_PRIVATE_KEY_BASE64}
JWT_PUBLIC_KEY_BASE64: ${JWT_PUBLIC_KEY_BASE64}
MAILJET_API_KEY: ${MAILJET_API_KEY}
MAILJET_SECRET_KEY: ${MAILJET_SECRET_KEY}
TWILIO_ACCOUNT_SID: ${TWILIO_ACCOUNT_SID}
TWILIO_AUTH_TOKEN: ${TWILIO_AUTH_TOKEN}
TWILIO_PHONE_NUMBER: ${TWILIO_PHONE_NUMBER}
VOLUNTEER_PORTAL_FRONTEND_DOMAIN: ${VOLUNTEER_PORTAL_FRONTEND_DOMAIN:-localhost}
VOLUNTEER_PORTAL_FRONTEND_PORT: ${VOLUNTEER_PORTAL_FRONTEND_PORT:-3001} # 3001 is intentional, hack around local cookie issue
volumes:
- './backend/src:/srv/src'
ports:
- '3001:3001'