Skip to content

Instantly share code, notes, and snippets.

@jcaceres85
Created September 2, 2021 21:41
Show Gist options
  • Save jcaceres85/1a77eb83c2193ab2a66189c4fe429755 to your computer and use it in GitHub Desktop.
Save jcaceres85/1a77eb83c2193ab2a66189c4fe429755 to your computer and use it in GitHub Desktop.
docker-compose.override.localhost.yml
version: '3.4'
services:
django:
build: .
# Loading the app is defined here to allow for
# autoreload on changes it is mounted on top of the
# old copy that docker added when creating the image
volumes:
- '.:/usr/src/app'
environment:
- DEBUG=True
- GEONODE_LB_HOST_IP=localhost
- GEONODE_LB_PORT=80
- SITEURL=https://localhost/
- ALLOWED_HOSTS=['localhost',]
- GEOSERVER_PUBLIC_LOCATION=http://localhost/geoserver/
- GEOSERVER_WEB_UI_LOCATION=http://localhost/geoserver/
celery:
build: .
volumes:
- '.:/usr/src/app'
environment:
- DEBUG=True
- GEONODE_LB_HOST_IP=localhost
- GEONODE_LB_PORT=80
- SITEURL=https://localhost/
- ALLOWED_HOSTS=['localhost',]
- GEOSERVER_PUBLIC_LOCATION=http://localhost/geoserver/
- GEOSERVER_WEB_UI_LOCATION=http://localhost/geoserver/
geoserver:
environment:
- GEONODE_LB_HOST_IP=localhost
- GEONODE_LB_PORT=80
geonode:
environment:
- GEONODE_LB_HOST_IP=localhost
- GEONODE_LB_PORT=80
- HTTP_HOST=localhost
- HTTPS_HOST=
- HTTP_PORT=80
- HTTPS_PORT=443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment