-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task/WG-134 setup docker compose for geoapi services vm (#142)
* Add initial/work-in-progress docker-compose * Add nginx conf * Move docker infrastructure to devops folder * Move remaining docker infrastructure to devops folder * Fix local development's docker-compose * Add additional improvements to docker-compose for geoapi-services vms * Add some variables * Use one env variable for mapillary * Fix dockerfiles * Add secret.env to gitignore * Update docker-compose test yaml * Fix installing of python packages on github actions workflow * Change to devops/ before running test on CI workflow * Simplify install/pytest step in CI workflow * Refactor location of dockerfiles and images used * Fix nginx conf for deployment * Change secrets location to /opt/portal/conf/secret.env * Use absolute path for secrets.env * Add makefile for geoapi-services * Refactor dockerfile * Correct path to poetry.lock and pyproject.toml * Fix paths in dockerfile * Rename Dockerfile.potree to Dockerfile.worker * Rename Dockerfile.potree to Dockerfile.worker again * Fix workflow * Fix workflow * Remove env file usage in Makefile Using docker-compose.yml where that is hardcoded * Pass in GEOAPI_TAG from env * Remove echo * Fix docker compose statement * update docker compose and Makefile * Fix MAKEFILE * Add todo * Fix MAKEFILE again * Add missing RABBITMQ_VHOST * Do not run docker up in background for testing * Fix gitignore and improve dockerignore * Bump rabbitmq version * Update todo * Fix tabbitmq password variable on example secrets file * Refactor how settings are set based on APP_ENV * Add hazmapper to docker-compose * Fix makefile * Expose rabbitmq port from geoapi-services * Improve make build command * Improve deploy command * Add a copy of poetry files * Fix unit test settings * Move to devops before running test * Removed unused steps in workflow
- Loading branch information
1 parent
c96af3d
commit 7236663
Showing
26 changed files
with
259 additions
and
125 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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
**.pyc | ||
.git | ||
**/__pycache__ | ||
|
||
# Secret env file | ||
.env | ||
*secrets.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
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ __pycache__/ | |
|
||
# Secret env file | ||
.env | ||
*secrets.env | ||
|
||
# C extensions | ||
*.so | ||
|
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
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
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,13 @@ | ||
|
||
.PHONY: start | ||
start: | ||
echo "starting (GEOAPI_TAG=${GEOAPI_TAG})" | ||
docker compose -f docker-compose.yml up -d | ||
|
||
.PHONY: stop | ||
stop: | ||
docker compose -f docker-compose.yml down | ||
|
||
.PHONY: pull | ||
pull: | ||
docker compose pull api workers nginx rabbitmq |
Oops, something went wrong.