-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
34 lines (34 loc) · 1.01 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
version: '3'
services:
master:
image: assistente:master
ports:
- "3030:3000"
build:
context: .
dockerfile: Dockerfile
environment:
- "HOST=localhost"
- "PORT=3000"
- "MONGODB_USERNAME=assistente"
- "MONGODB_PWD=${MONGODB_PWD}"
- "MONGODB_HOST=ds231242.mlab.com"
- "MONGODB_PORT=31242"
- "MONGODB_DBNAME=assistente"
- "JWT_AUDIENCE=http://api.assistente.dev.org.br"
- "JWT_ISSUER=feathers-redelivre"
- "OPENID_ISSUER=https://id.org.br"
- "OPENID_REDIRECT_URL=http://api.assistente.dev.org.br/authorization"
- "OPENID_ID=${OPENID_ID}"
- "OPENID_SECRET=${OPENID_SECRET}"
- "TELEGRAM_USERNAME=R4dar_bot"
- "TELEGRAM_ADMINS=${TELEGRAM_ADMINS}"
- "TELEGRAM_TOKEN=${TELEGRAM_TOKEN}"
- "AUTHENTICATION_SECRET=${AUTHENTICATION_SECRET}"
docs:
image: assistente:docs
ports:
- "3031:3000"
build:
context: .
dockerfile: Dockerfile.docs