Merge pull request #1802 from CampaniaGuy/master

Expanded docker.md documentation
This commit is contained in:
Yohan Boniface 2024-05-17 17:38:15 +02:00 committed by GitHub
commit bce739065a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -22,7 +22,7 @@ You can import icons manually by going to your uMap admin page: `https://your.se
## Import icons automatically
To import icons on your uMap server, you will need to use the command `umap import_pictograms`.
To import icons on your uMap server, you will need to use the command `umap import_pictograms` (making sure the virtualenv is active).
Note: you can get help with `umap import_pictograms -h`

View file

@ -27,6 +27,8 @@ services:
volumes:
- umap_userdata:/srv/umap/uploads
# FIX the path on the left, below, to your location
# OPTIONAL, you can comment the line below out for default
# values to apply
- /home/ubuntu/umap.conf:/etc/umap/umap.conf
restart: always
depends_on:
@ -42,3 +44,8 @@ Note that youll have to set a [`SECRET_KEY`](https://docs.djangoproject.com/e
```sh
$ 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:
```bash
umap createsuperuser
```