ctsit / redcap_external_module_development_guide

A resource for REDCap module development for REDCap admins and developers presented at https://ctsit.github.io/redcap_external_module_development_guide/
Other
8 stars 9 forks source link

`docker-compose` should be replaced with `docker compose` #47

Open shermanlo77 opened 1 year ago

shermanlo77 commented 1 year ago

docker-compose should be replaced with docker compose following the commits in 123andy/redcap-docker-compose@1a0e412. This is so that Docker Compose v2 can be used instead of v1. Support for Docker Compose v1 is planned to be dropped.

At the moment, install REDCap produces the following error for me

( ! ) Warning: mysqli::__construct(): php_network_getaddresses: getaddrinfo for db failed: Tem
porary failure in name resolution in /var/www/html/REDCapInstaller.php on line 347
Call Stack
#   Time    Memory  Function    Location
1   0.0005  438304  {main}( )   .../redcap-setup.php:0
2   0.0013  525640  REDCapInstaller->__construct( ) .../redcap-setup.php:14
3   2.1179  526496  REDCapInstaller->initializeDatabase( )  .../REDCapInstaller.php:109
4   2.1216  526880  __construct( $hostname = 'db', $username = 'redcap', $password = 'redc
ap123', $database = 'redcap' )  .../REDCapInstaller.php:347

REDCap successfully unzipped to /tmp/redcap-installer×
php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution in i
nitializeDatabase×
Unable to initialize Database. Proceed with manual database setup.×