DEV Community

Discussion on: More than "Hello World" in Docker: Build Rails + Sidekiq web apps in Docker

Collapse
 
mariajosecg profile image
mariajosecg

Hi Raphael, how you're doing?
I have a problem for execute sidekiq in my app, I hope you can help me.
I created a container for execute sidekiq from sidekiq-entrypoint.sh. After executing the docker-compose up rails command, I check the created containers and I get:

CONTAINER ID--------- IMAGE
282afcb874ef-------------legacy_sidekiq

COMMAND-------------------CREATED-----------STATUS
"./sidekiq-entrypoin…"-----6 minutes ago-------Up 6 minutes

PORTS--------------------------NAMES
0.0.0.0:8081->8080/tcp-----legacy_sidekiq_1

Also, I try to access the sidekiq dashboard through 0.0.0.0:8081/sidekiq or 0.0.0.0:8080/sidekiq, but I get 'Not found'.

My routes:
require 'sidekiq/web'
mount Sidekiq::Web => '/sidekiq'

If you need other data, I will be attentive.