Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note need to restart docker containers to fix proxy #26

Open
pbchase opened this issue Feb 25, 2020 · 1 comment
Open

Note need to restart docker containers to fix proxy #26

pbchase opened this issue Feb 25, 2020 · 1 comment

Comments

@pbchase
Copy link
Contributor

pbchase commented Feb 25, 2020

The phpmyadmin and mailhog interfaces become inaccessible for unknown reasons. accessing them returns a proxy error. restarting the docker-compose environment fixes the problem. i.e., do this:

docker-compose down && docker-compose up -d

Should we document this in the exercises? Maybe open an issue in redcap-docker-compose?

@pbchase
Copy link
Contributor Author

pbchase commented Mar 5, 2020

The solution I proposed above is overkill. If you see a container is down, restart it. e.g., If my phpmyadmin container below were down

→ docker-compose ps
      Name                    Command               State                 Ports              
---------------------------------------------------------------------------------------------
rc935_cron         /entrypoint.sh                   Up                                       
rc935_db           docker-entrypoint.sh mysqld      Up      0.0.0.0:2935->3306/tcp, 33060/tcp
rc935_mailhog      /entrypoint.sh                   Up      1025/tcp, 0.0.0.0:4935->8025/tcp 
rc935_phpmyadmin   /docker-entrypoint.sh apac ...   Up      0.0.0.0:3935->80/tcp             
rc935_web          docker-php-entrypoint /etc ...   Up      0.0.0.0:1935->80/tcp 

I restart it with

docker restart rc935_phpmyadmin 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant