-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Closes #3896] Add a sample docker-compose.override.localhost.yml to …
…run docker-compose on localhost (#3897) * [Closes #ISSUE_3896] Add a sample docker-compose.override.localhost.yml to run docker-compose on localhost * Add section for docker ip address
- Loading branch information
Alessio Fabiani
committed
Sep 7, 2018
1 parent
625d0fa
commit 7718cb9
Showing
3 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
version: '2.2' | ||
|
||
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=http://localhost/ | ||
- ALLOWED_HOSTS=['localhost', ] | ||
- GEOSERVER_PUBLIC_LOCATION=http://localhost/geoserver/ | ||
|
||
# celery: | ||
# 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 | ||
|
||
geoserver: | ||
environment: | ||
- GEONODE_LB_HOST_IP=localhost | ||
- GEONODE_LB_PORT=80 | ||
# - NGINX_BASE_URL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters