Merge pull request #1802 from CampaniaGuy/master
Expanded docker.md documentation
This commit is contained in:
commit
bce739065a
2 changed files with 8 additions and 1 deletions
|
@ -22,7 +22,7 @@ You can import icons manually by going to your uMap admin page: `https://your.se
|
||||||
|
|
||||||
## Import icons automatically
|
## 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`
|
Note: you can get help with `umap import_pictograms -h`
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- umap_userdata:/srv/umap/uploads
|
- umap_userdata:/srv/umap/uploads
|
||||||
# FIX the path on the left, below, to your location
|
# 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
|
- /home/ubuntu/umap.conf:/etc/umap/umap.conf
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -42,3 +44,8 @@ Note that you’ll have to set a [`SECRET_KEY`](https://docs.djangoproject.com/e
|
||||||
```sh
|
```sh
|
||||||
$ python3 -c 'import secrets; print(secrets.token_hex(100))'
|
$ 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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue