Commit cb4e932d8428d86e1ac93c5b0f1f5d8e46cdd7ab

Authored by jonathan.brilhante
1 parent 04e97cde
Exists in master and in 1 other branch coppe

docker-compose

Showing 1 changed file with 9 additions and 3 deletions   Show diff stats
docker-compose.yml
@@ -23,17 +23,23 @@ services: @@ -23,17 +23,23 @@ services:
23 - default 23 - default
24 24
25 web: 25 web:
26 - build: . 26 + build: ./web
27 command: bin/rails server -e production --port 80 --binding 0.0.0.0 27 command: bin/rails server -e production --port 80 --binding 0.0.0.0
28 ports: 28 ports:
29 - "80:80" 29 - "80:80"
  30 + - "587:587"
30 links: 31 links:
31 - db 32 - db
32 - redis 33 - redis
33 environment: 34 environment:
34 - DOMAIN_NAME=150.165.205.38:80 35 - DOMAIN_NAME=150.165.205.38:80
35 - - VLIBRAS_API=191.234.184.118:80  
36 - - VLIBRAS_API_URL=http://191.234.184.118:80/api/ 36 + - VLIBRAS_API=150.165.205.38:85
  37 + - VLIBRAS_API_URL=http://150.165.205.38:85/api/
  38 + - SMTP_ADRESS=smtp.gmail.com
  39 + - SMTP_PORT=587
  40 + - SMTP_AUTHENTICATION=plain
  41 + - SMTP_USER=suite.vlibras@gmail.com
  42 + - SMTP_PASSWORD=l4v1d-l1v3
37 volumes: 43 volumes:
38 - .:/vlibrasportal/ 44 - .:/vlibrasportal/
39 volumes: 45 volumes: