Development environment using docker compose
H5P Content Type development using docker-compose
The file contents for the h5p-greetingcard folder can be gotten from the Hello world tutorial.
file_uploads = On
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 600
Creating network "docker-devenv_default" with the default driver Starting docker-devenv_drupal_1 ... done Starting docker-devenv_db_1 ... done
Remove the -d flag if you want to run in the foreground instead. Then you can stop the containers by hitting Ctrl + C.
Stopping docker-devenv_drupal_1 ... done Stopping docker-devenv_db_1 ... done Removing docker-devenv_drupal_1 ... done Removing docker-devenv_db_1 ... done Removing network docker-devenv_default
Note that the named volumes are left intact. If you want to remove those as well, you can do so with
docker-compose down --volumes.
docker-devenv_drupal_1 is up-to-date docker-devenv_db_1 is up-to-date
Note that we haven't mapped any ports for the MySQL container so we cannot connect to it from the host directly, but we also shouldn't currently need to.