entrypoints/rails.sh
command: ['bundle', 'exec', 'rails', 's', '-p', '3000', '-b', '0.0.0.0']
sidekiq...production
- RAILS_ENV=production
- INSTALLATION_ENV=docker
command: ['bundle', 'exec', 'sidekiq...', '-C', 'config/sidekiq.yml']
postgres:
image: postgres:12
restart: always
# ports:...base container is an intermediatory container used to build the rails and sidekiq ones.