forked from datosgobar/consulta-publica_old
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.example.dev.yaml
47 lines (45 loc) · 1.54 KB
/
docker-compose.example.dev.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
45
46
47
version: '3'
services:
app:
build: .
command: ["./node_modules/.bin/gulp", "bws"]
environment:
- NODE_ENV=development
- DEBUG=democracyos*
- HOST: 'localhost' #completar
- PORT: 3000
# Requerido: Configurar mongo database
- MONGO_URL=mongodb://mongo/mi-consultapublica
# Requerido: Genere un token para JWT
- JWT_SECRET=
- DEBUG: 'consultapublica:api'
- MODERATOR_ENABLED: 'true'
# Configuracion del mailer
- NOTIFICATIONS_MAILER_NAME=Mi Consulta Digital
- NOTIFICATIONS_NODEMAILER={"host:"xxxxx.smtp.com","port":465,"secure":true,"auth":{"user":"xxxxxxxx","pass":"xxxxxxx"}} #Cambiar
# Configuracion de la autenticacion
- CUSTOM_SIGNIN: 'true'
- OIDC_AUTH= ''
- OIDC_CALLBACK= ''
- OIDC_CLIENT_ID= ''
- OIDC_CLIENT_SECRET= ''
- OIDC_ISSUER= ''
- OIDC_TOKEN= ''
- OIDC_USER= ''
- SSL_CERT: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
# Importante: Defina el "Staff" de administradores para que en su registro el sistema le de privilegios de admin
# Para varios admins:
# Para un solo admin:
- STAFF= '[email protected]'
- WARN_HTTP: 'false'
ports:
- 3000:3000
mongo:
image: mongo:3.2
ports:
- 27017:27017
# Optionally mount external data directory
volumes:
- ./tmp/db:/data/db