mapkyca / mapkyca-known-docker-postgres
Docker container for a Known install in order to quickly get you going... Postgres edition
Installs: 261
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Language:Dockerfile
Requires
- phpunit/phpunit: ^9.1
README
This is a composer installable docker instance for your Known install.
It is designed to quickly get you up and running with a development environment for playing around with Known.
It creates a docker install wrapping your current known instance, exposing a web server on localhost:8089
, and using a separate database image.
Installation
- Download and install docker
- Add this docker image to known using composer
composer require mapkyca/mapkyca-known-docker-postgres --dev
This will create a docker environment in /vendor/mapkyca/mapkyca-known-docker-postgres/
Usage
- cd
/vendor/mapkyca/mapkyca-known-docker-postgres/
docker-compose up
- Point your browser at
localhost:8089
and install in the usual way
Data storage
Files you upload will be stored in your Known install's "Uploads" directory.
Your database will be stored in /vendor/mapkyca/mapkyca-known-docker-postgres/db/run/
.
IMPORTANT
This is designed to be used for temporary development, not production. I make no promises as to what happens to the database directory when doing composer updates.
If you care, back this up regularly!
See
- Author: Marcus Povey https://www.marcus-povey.co.uk