Docker image for the Yakforms application
10.0K
Docker configuration for the Yakforms project. This is a Drupal 7 / PHP 7.4 application that lets you create simple forms, then collect and analyze the responses.
It is not actively maintained anymore, we'll keep the stack frozen until a better solution is found.
A working Docker installation is mandatory.
Make sure to copy & rename the following environment files.
cp env.example .env
cp db.env.example db.env
You can replace the values if needed to match you server & environment.
Make sure to copy & rename the docker-compose.override.yml.dev file to docker-compose.override.yml.
cp docker-compose.override.yml.dev docker-compose.override.yml
You can replace the values if needed, but the default ones should work for local development.
Build & run all the containers for this project.
docker compose up (add -d if you want to run in the background and silence the logs)
To access the main application please use the following link.
The first time you access the application, you will be redirected to the installation page (see below for the installation instructions).
Make sure to copy & rename the following environment files.
cp env.example .env
cp db.env.example db.env
You should replace the values since the default ones are not ready for production.
Copy & rename the docker-compose.override.yml.prod file to docker-compose.override.yml.
cp docker-compose.override.yml.prod docker-compose.override.yml
You can replace the values if needed, but the default ones should work for production.
Build & run all the containers for this project.
docker compose up -d
Use a reverse proxy configuration to map the url to port 8787.
When you first access the application, you will be redirected to the installation page.
Use the following path: /admin/config/regional/language
Use the following path: /admin/modules
Use the following path: /admin/appearance
Use the following path: /admin/config/system/yakforms
Use the following path: /admin/modules
Everything in /themes, /modules, /libraries & /files is managed by composer and will be updated on the next docker compose up.
Files in the /fix & /views folders are backed into the docker image, they will either be updated on the next docker compose build / docker compose pull, or stored in the database during the first setup and persist in the application database volume (should be updated manually).
The Dockerfile extracts the application files from a pre-packaged Docker image, and runs them on a CVE-patched PHP 7.4 base image. This is needed since the project is not maintained anymore and the stack is frozen.
GitHub Actions workflows generate Docker image tags based on these events:
development: dev-latest, stage-latestmaster: latestvX.Y.Z (immutable)Content type
Image
Digest
sha256:ad6c62af7…
Size
198.9 MB
Last updated
6 days ago
docker pull unillett/yakformsPulls:
190
Last week