Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add depends on in compose and fix timeout in action #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/print-env-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: shipyard/github-action/[email protected]
with:
api-token: ${{ secrets.SHIPYARD_API_TOKEN }}
timeout-minutes: "10"
timeout-minutes: 10
- name: Print Env Data
run: |
export CYPRESS_BASE_URL=${SHIPYARD_ENVIRONMENT_URL}
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ services:
- './frontend/public:/app/public'
ports:
- '3000:3000'
depends_on:
- backend

backend:
labels:
Expand All @@ -32,6 +34,10 @@ services:
- './backend/src:/srv/src:ro'
ports:
- '8080:8080'
depends_on:
- postgres
- redis
- localstack

worker:
labels:
Expand All @@ -47,6 +53,10 @@ services:
- './backend/filesystem/entrypoints:/entrypoints:ro'
- './backend/migrations:/srv/migrations'
- './backend/src:/srv/src:ro'
depends_on:
- postgres
- redis
- localstack

postgres:
image: 'postgres:9.6-alpine'
Expand Down