Skip to content

Commit

Permalink
Update docker run with local volume mapping to persist db
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Nov 1, 2022
1 parent c70016d commit 961a20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ run: ## Run backend locally for development purposes
-e DJANGO_SUPERUSER_USERNAME="${DJANGO_SUPERUSER_USERNAME}" \
-e DJANGO_SUPERUSER_EMAIL="${DJANGO_SUPERUSER_EMAIL}" \
-e DJANGO_SUPERUSER_PASSWORD="${DJANGO_SUPERUSER_PASSWORD}" \
-v pob_backend_data:/app \
-v $(CURDIR)/db:/app/db \
-p 8000:8000 \
--name "${CONTAINER_POB_BACKEND}" \
$(DOCKER_IMAGE):dev
Expand Down

0 comments on commit 961a20e

Please sign in to comment.