-
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.
New docker compose configuration (#187)
* Refactored Compose files * Removed unnecessary overrides * Configurable default network name * Added override for using prebuilt development version image * Tagging release candidates build with 'rc' tag * Removed service name from RC override * Updated README * Fixed condition in Actions workflow * Fixed PR CI workflow * Fixed PR CI workflow once again * Fixed condition in CI workflow Also removed RUN_ON_MASTER variable because we don't need it: on merge to master the workflow is not triggered, and on tag push the event will be 'semver', not 'branch' * Added depends_on to the api service * Fixed selenoid network name for connection * Added restart policy Stop services only after they are explicitly stopped. This enables automatic application startup after system reboot * Removed unnecessary chrome service * Using start_celery.sh script by default * Extended .dockerignore * Added external network for Selenoid to compensate removal of Chrome service * Storing Mongo data in a Docker volume instead of project directory * Fixed PR CI workflow * Should be working without new network * Legacy directory removed from .gitignore
- Loading branch information
Showing
17 changed files
with
104 additions
and
447 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
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 |
---|---|---|
|
@@ -53,3 +53,5 @@ coverage.xml | |
.env | ||
.env.rc | ||
.env.dev | ||
|
||
docker-compose.override.yaml |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
services: | ||
selenoid: | ||
ports: | ||
- "${SELENOID_PORT:-4445}:4444" | ||
|
||
api: | ||
image: !reset null | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
volumes: | ||
- .:/jdi-qasp-ml | ||
|
||
celery: | ||
image: !reset null | ||
build: | ||
context: . | ||
dockerfile: Dockerfile |
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 @@ | ||
services: | ||
api: | ||
image: "ghcr.io/jdi-testing/jdi-qasp-ml:develop" | ||
|
||
celery: | ||
image: "ghcr.io/jdi-testing/jdi-qasp-ml:develop" |
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,10 @@ | ||
services: | ||
api: | ||
image: "ghcr.io/jdi-testing/jdi-qasp-ml:rc" | ||
environment: | ||
ENV: LOCAL | ||
|
||
celery: | ||
image: "ghcr.io/jdi-testing/jdi-qasp-ml:rc" | ||
|
||
mongodb: !reset [] |
Oops, something went wrong.