Create db, persistent volume and lattedb in different images docker-compose up (in the repo root). Done. The webpage is hosted @ localhost:8000
(Optional) Run commands inside the image docker-compose run app <bash commands like lattedb info>
What's new?
Dockerfile + docker compose instructions
Pip install now copies static files & templates into installed package dir (e.g., PYTHONPATH)
You can now specify a LATTEDB_ROOT_DIR env variable which should contain settings.yaml and db-config.yaml and will host static & media files. This allows different (secret) mounting points. If not set, this defaults to the the repo root dir as before.
Next steps?
Connect and set up automatic deployment for a remote host (e.g., SPIN)
Created docker file for lattedb to allow deploying docker images.
How to use it?
docker-compose up
(in the repo root). Done. The webpage is hosted @localhost:8000
docker-compose run app <bash commands like lattedb info>
What's new?
PYTHONPATH
)LATTEDB_ROOT_DIR
env variable which should containsettings.yaml
anddb-config.yaml
and will host static & media files. This allows different (secret) mounting points. If not set, this defaults to the the repo root dir as before.Next steps?