Skip to content

joesiltberg/mapit-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mySociety's MapIt in Docker

This Docker container is made for only MapIt. The database is not created or imported here.

Configuration file should be made available as a Docker volume, see the example docker-compose.yml.

Since the database is outside of the container, Postgres needs to be configured to listen to the Docker network, and allow authentication on that network as well.

Usage

Building the image:

docker build -t mapit .

Initialize/migrate the database:

docker run mapit python manage.py migrate mapit

You can create an admin account with:

docker run mapit python manage.py createsuperuser

To run with docker-compose:

docker-compose up

To stop

docker-compose down

About

MySociety's MapIt in Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published