CraftCMS Docker container based nginx and PHP 7.4 (w/git client)
297
CraftCMS Docker container with nginx and PHP 7.4. It is based on the official CraftCMS docker: https://github.com/craftcms/docker/tree/main/7.4 with some modification (fixed file permissions to error log location, added git client, and added some logic for deployment keys).
The included git client is thought for deployment purposes. You can mount your git deployment key (private ssh key for deployment) to /etc/keyfiles/deploy-key and git will automatically use it.
For example to mount the private key with Kubernetes you could use something like:
volumes:
- name: deploy-key-volume
secret:
secretName: deploy-keys
defaultMode: 256
in your deployment yaml file and:
secretGenerator:
- name: deploy-keys
files:
- ./deploy-key
in you kustomization yaml (with the file deploy-key containing your private ssh deployment key).
Content type
Image
Digest
Size
160.3 MB
Last updated
over 5 years ago
docker pull omaerz/craftcms:nginx-php7.4-v3.1