Skip to content

Instantly share code, notes, and snippets.

@jcaceres85
Last active September 7, 2021 02:16
Show Gist options
  • Save jcaceres85/5a204f2dbcc72ad1ab4a32748ec06577 to your computer and use it in GitHub Desktop.
Save jcaceres85/5a204f2dbcc72ad1ab4a32748ec06577 to your computer and use it in GitHub Desktop.
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=<my_IP>
- GEONODE_LB_PORT=80
- SITEURL=https://<my_domain>/
- ALLOWED_HOSTS=['<my_IP>', '<my_domain>,]
- GEOSERVER_PUBLIC_LOCATION=https://<my_domain>/geoserver/
- GEOSERVER_WEB_UI_LOCATION=https://<my_domain>/geoserver/
celery:
build: .
volumes:
- '.:/usr/src/app'
environment:
- DEBUG=False
- GEONODE_LB_HOST_IP=<my_IP>
- GEONODE_LB_PORT=80
- SITEURL=https://<my_domain>/
- ALLOWED_HOSTS=['<my_IP>', '<my_domain>',]
- GEOSERVER_PUBLIC_LOCATION=https://<my_domain>/geoserver/
- GEOSERVER_WEB_UI_LOCATION=https://<my_domain>/geoserver/
geoserver:
environment:
- GEONODE_LB_HOST_IP=<my_IP>
- GEONODE_LB_PORT=80
geonode:
environment:
- GEONODE_LB_HOST_IP=<my_IP>
- GEONODE_LB_PORT=80
- HTTP_HOST=<my_domain>
- 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