forked from steveworley/lagoon-php-sdk
-
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.
Add a volumeless docker-compose.yaml file for testing and development. (
#2) * Adding a volumeless docker-compose file for (potentially) faster testing. * Use docker-compose instead of make api-development. * Use docker-compose in tests folder instead of make api-development.
- Loading branch information
Showing
8 changed files
with
57 additions
and
9 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,49 @@ | ||
version: '3.2' | ||
services: | ||
api-db: | ||
image: uselagoon/api-db | ||
ports: | ||
- '3366:3306' | ||
webhook-handler: | ||
image: uselagoon/webhook-handler | ||
command: yarn run dev | ||
ports: | ||
- '7777:3000' | ||
broker: | ||
image: uselagoon/broker-single | ||
ports: | ||
- '15672:15672' | ||
- '5672:5672' | ||
webhooks2tasks: | ||
image: uselagoon/webhooks2tasks | ||
command: yarn run dev | ||
api: | ||
image: uselagoon/api | ||
command: yarn run dev | ||
depends_on: | ||
- api-db | ||
- keycloak | ||
ports: | ||
- '3000:3000' | ||
ui: | ||
image: uselagoon/ui | ||
command: yarn run dev | ||
ports: | ||
- '8888:3000' | ||
keycloak: | ||
image: uselagoon/keycloak | ||
user: '111111111' | ||
depends_on: | ||
- keycloak-db | ||
ports: | ||
- '8088:8080' | ||
keycloak-db: | ||
image: uselagoon/keycloak-db | ||
ports: | ||
- '3336:3306' | ||
local-api-data-watcher-pusher: | ||
depends_on: | ||
- api | ||
image: uselagoon/local-api-data-watcher-pusher | ||
api-redis: | ||
image: uselagoon/api-redis |
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,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
cd vendor/uselagoon/lagoon | ||
cd tests | ||
docker-compose kill | ||
docker-compose rm -fv |
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,4 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
cd vendor/uselagoon/lagoon | ||
cd tests | ||
docker-compose logs -f $1 |
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,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
cd vendor/uselagoon/lagoon | ||
cd tests | ||
#docker-compose restart --no-deps api | ||
# Lando's docker compose version does not have "--no-deps". | ||
docker-compose restart api |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
cd vendor/uselagoon/lagoon | ||
cd tests | ||
docker-compose stop |
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,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
cd vendor/uselagoon/lagoon | ||
cd tests | ||
make ui-development |
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,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
cd vendor/uselagoon/lagoon | ||
cd tests | ||
docker-compose stop |