-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (43 loc) · 1.13 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
version: '3.9'
services:
mongodb:
container_name: mongodb
image: mongo:latest
restart: always
environment:
- MONGO_INITDB_ROOT_USERNAME=$MONGODB_USER
- MONGO_INITDB_ROOT_PASSWORD=$MONGODB_PASSWORD
ports:
- "27017:27017"
volumes:
- ./mongo-data:/data/db
uicompanion-server:
container_name: uicompanion-server
depends_on:
- mongodb
build: ./packages/server
restart: on-failure
ports:
- "3001:3001"
environment:
- MONGODB_USER=$MONGODB_USER
- MONGODB_PASSWORD=$MONGODB_PASSWORD
- MONGODB_DATABASE=$MONGODB_DATABASE
- MONGODB_HOST=$MONGODB_HOST
- MONGODB_PORT=$MONGODB_PORT
uicompanion-app:
container_name: uicompanion-app
depends_on:
- uicompanion-server
build: ./packages/app
restart: on-failure
ports:
- "3000:3000"
environment:
- LOG_LEVEL_IN_STRING=$LOG_LEVEL_IN_STRING
- WEBHOOK_PROXY_URL=$WEBHOOK_PROXY_URL
- APP_ID=$APP_ID
- PRIVATE_KEY=$PRIVATE_KEY
- WEBHOOK_SECRET=$WEBHOOK_SECRET
- GH_CLIENT_ID=$GH_CLIENT_ID
- GH_CLIENT_SECRET=$GH_CLIENT_SECRET