Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. version: "3.7"
  2. services:
  3. redis:
  4. image: redis:5.0-alpine
  5. ports:
  6. - "6379:6379"
  7. postgres:
  8. image: postgres:9.4
  9. ports:
  10. - "5432:5432"
  11. # sidekiq:
  12. # build: .
  13. # command: bundle exec sidekiq
  14. # command: sidekiq -C config/sidekiq.yml
  15. # command: bundle exec sidekiq -C config/sidekiq.yml
  16. # environment:
  17. # RAILS_ENV: "docker"
  18. # depends_on:
  19. # - redis
  20. app:
  21. restart: unless-stopped
  22. image: adres_repo:port/cordeo-api:latest
  23. ports:
  24. - "8888:3000"
  25. depends_on:
  26. - postgres
  27. - redis
  28. environment:
  29. RAILS_ENV: "docker"
  30. volumes:
  31. - ./master.key:/app/config/master.key
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement