-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix min_qg_version query in plugins.xml (#224) * fix min_qg_version query * added 0 patch value for qgis version against max_qg_version * only add patch if it has major.minor version * Update docker-compose and dockerfile * Update nginx configuration * Update smtp * Add celery beat * Add feedjack update celery task * Add metabase configuration * Update test.yaml * Add test docker-compose Co-authored-by: sumandari <[email protected]>
- Loading branch information
1 parent
f7a37c6
commit d4c8550
Showing
18 changed files
with
423 additions
and
150 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 @@ | ||
dockerize/postgres_data |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,3 +51,5 @@ qgis-app/api/tests/*/ | |
|
||
# whoosh_index | ||
qgis-app/whoosh_index/ | ||
docker-compose.override.yml | ||
.env |
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,6 @@ | ||
RABBITMQ_HOST=rabbitmq | ||
DATABASE_NAME=gis | ||
DATABASE_USERNAME=docker | ||
DATABASE_PASSWORD=docker | ||
DATABASE_HOST=db | ||
DJANGO_SETTINGS_MODULE=settings_docker |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
version: '3' | ||
services: | ||
devweb: | ||
# Note you cannot scale if you use container_name | ||
image: kartoza/qgis-plugins-uwsgi:dev-latest | ||
container_name: qgis-plugins-devweb | ||
volumes: | ||
- ../qgis-app:/home/web/django_project | ||
- ./static:/home/web/static:rw | ||
- ./media:/home/web/media:rw | ||
build: | ||
context: ${PWD}/../ | ||
dockerfile: dockerize/docker/Dockerfile | ||
target: dev | ||
ports: | ||
# for django test server | ||
- "62202:8080" | ||
# for ssh | ||
- "62203:22" | ||
|
||
beat: | ||
volumes: | ||
- ../qgis-app:/home/web/django_project | ||
- ./static:/home/web/static:rw | ||
- ./media:/home/web/media:rw | ||
|
||
worker: | ||
volumes: | ||
- ../qgis-app:/home/web/django_project | ||
- ./static:/home/web/static:rw | ||
- ./media:/home/web/media:rw | ||
|
||
uwsgi: | ||
container_name: qgis-plugins-uwsgi | ||
volumes: | ||
- ../qgis-app:/home/web/django_project | ||
- ./static:/home/web/static:rw | ||
- ./media:/home/web/media:rw | ||
build: | ||
context: ${PWD}/../ | ||
dockerfile: dockerize/docker/Dockerfile | ||
target: prod | ||
|
||
db: | ||
volumes: | ||
- ./postgres_data:/var/lib/postgresql | ||
- ./backups:/backups | ||
|
||
web: | ||
volumes: | ||
- ./sites-enabled:/etc/nginx/conf.d:ro | ||
- ./static:/home/web/static:ro | ||
- ./media:/home/web/media:ro | ||
ports: | ||
- "62201:8080" |
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,19 @@ | ||
version: '3' | ||
services: | ||
devweb: | ||
# Note you cannot scale if you use container_name | ||
image: kartoza/qgis-plugins-uwsgi:dev-latest | ||
container_name: qgis-plugins-devweb | ||
volumes: | ||
- ../qgis-app:/home/web/django_project | ||
- ./static:/home/web/static:rw | ||
- ./media:/home/web/media:rw | ||
build: | ||
context: ${PWD}/../ | ||
dockerfile: dockerize/docker/Dockerfile | ||
target: dev | ||
ports: | ||
# for django test server | ||
- "62202:8080" | ||
# for ssh | ||
- "62203:22" |
Oops, something went wrong.