Skip to content

Commit 9411c3f

Browse files
authored
chore: Add depends-on in compose and fix timeout in action (#9)
* Timeout should be number not string * Add depends_on in compose
1 parent 42a8c0d commit 9411c3f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/print-env-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: shipyard/[email protected]
1212
with:
1313
api-token: ${{ secrets.SHIPYARD_API_TOKEN }}
14-
timeout-minutes: "10"
14+
timeout-minutes: 10
1515
- name: Print Env Data
1616
run: |
1717
export CYPRESS_BASE_URL=${SHIPYARD_ENVIRONMENT_URL}

docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ services:
1616
- './frontend/public:/app/public'
1717
ports:
1818
- '3000:3000'
19+
depends_on:
20+
- backend
1921

2022
backend:
2123
labels:
@@ -32,6 +34,10 @@ services:
3234
- './backend/src:/srv/src:ro'
3335
ports:
3436
- '8080:8080'
37+
depends_on:
38+
- postgres
39+
- redis
40+
- localstack
3541

3642
worker:
3743
labels:
@@ -47,6 +53,10 @@ services:
4753
- './backend/filesystem/entrypoints:/entrypoints:ro'
4854
- './backend/migrations:/srv/migrations'
4955
- './backend/src:/srv/src:ro'
56+
depends_on:
57+
- postgres
58+
- redis
59+
- localstack
5060

5161
postgres:
5262
image: 'postgres:9.6-alpine'

0 commit comments

Comments
 (0)