umap/docs/deploy/docker.md

765 B
Raw Blame History

Docker

An official uMap docker image is available on the docker hub. But, if you prefer to run it with docker compose, here is the configuration file:

--8<-- "./docker-compose.yml"

Note that youll have to set a SECRET_KEY environment variable that must be secret and unique. One way to generate it is through the secrets module from Python:

$ python3 -c 'import secrets; print(secrets.token_hex(100))'

User accounts can be managed via the Django admin page ({SITE_URL}/admin). The required superuser must be created on the container command line with this command:

umap createsuperuser