Open pbchase opened 4 years ago
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
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:
Should we document this in the exercises? Maybe open an issue in redcap-docker-compose?