-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
43 lines (41 loc) · 1.2 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
version: "3.7"
services:
backend_api:
image: 'backend-api:latest'
container_name: backend-api
build:
context: ./backend
dockerfile: Dockerfile
ports:
- '3000:3000'
environment:
- PORT=${PORT}
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
- DB_HOST=${DB_HOST}
- DB_NAME=${DB_NAME}
- DBPORT=${DBPORT}
- DEFAULT_ADMIN_PASSWORD=${DEFAULT_ADMIN_PASSWORD}
- DEFAULT_USER_PASSWORD=${DEFAULT_USER_PASSWORD}
- AUTH_JWT_SECRET=${AUTH_JWT_SECRET}
- PUBLIC_API_KEY_TOKEN=${PUBLIC_API_KEY_TOKEN}
- USER_API_KEY_TOKEN=${USER_API_KEY_TOKEN}
- ADMIN_API_KEY_TOKEN=${ADMIN_API_KEY_TOKEN}
- SELLER_API_KEY_TOKEN=${SELLER_API_KEY_TOKEN}
- PAYPAL_ACCESS_TOKEN=${PAYPAL_ACCESS_TOKEN}
- STRIPE_SECRET_KEY=${STRIPE_SECRET_KEY}
- STRIPE_PUBLISHABLE_KEY=${STRIPE_PUBLISHABLE_KEY}
developers:
container_name: developer-documentation
build:
context: ./developerDocumentation
dockerfile: Dockerfile
ports:
- '5000:3000'
internal:
container_name: internal-documentation
build:
context: ./internaldocs
dockerfile: Dockerfile
ports:
- '4000:3000'