mirror of
https://github.com/umap-project/umap.git
synced 2025-05-04 21:51:50 +02:00
765 B
765 B
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 you’ll 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