Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.7"
- services:
- redis:
- image: redis:5.0-alpine
- ports:
- - "6379:6379"
- postgres:
- image: postgres:9.4
- ports:
- - "5432:5432"
- # sidekiq:
- # build: .
- # command: bundle exec sidekiq
- # command: sidekiq -C config/sidekiq.yml
- # command: bundle exec sidekiq -C config/sidekiq.yml
- # environment:
- # RAILS_ENV: "docker"
- # depends_on:
- # - redis
- app:
- restart: unless-stopped
- image: adres_repo:port/cordeo-api:latest
- ports:
- - "8888:3000"
- depends_on:
- - postgres
- - redis
- environment:
- RAILS_ENV: "docker"
- volumes:
- - ./master.key:/app/config/master.key
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement