Skip to content

Instantly share code, notes, and snippets.

@gannebamm
Forked from t-book/django-docker-dev.md
Created August 31, 2021 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gannebamm/e0d2b69eb62d84c13f01a78e5e4b9da6 to your computer and use it in GitHub Desktop.
Save gannebamm/e0d2b69eb62d84c13f01a78e5e4b9da6 to your computer and use it in GitHub Desktop.
version: '3.4'
services:

  django:
    volumes:
      - .:/usr/src/geonode/
      - statics:/mnt/volumes/statics
      - geoserver-data-dir:/geoserver_data/data
      - backup-restore:/backup_restore
      - data:/data
      - tmp:/tmp
fswatch . -e ".html" | (while read; do docker exec django4geonode touch /usr/src/geonode/geonode/wsgi.py; done)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment