Skip to content

Commit

Permalink
feat(hasura): HASURA_VERSION from env
Browse files Browse the repository at this point in the history
  • Loading branch information
ifokeev committed Jul 4, 2024
1 parent fec3ed0 commit 8bada8b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
STACK_VERSION=latest
CLIENT_VERSION=v1.11.1
NODE_ENV=development
HASURA_VERSION=v2.40.2

POSTGRES_VERSION=12
PGDATA=/var/lib/postgresql/data/pgdata
Expand Down
6 changes: 4 additions & 2 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,13 @@ services:
hasura_cli:
build:
context: ./scripts/containers/hasura-cli
args:
HASURA_VERSION: ${HASURA_VERSION}
restart: always
command: ./start.sh
ports:
- 9695:9695
- 9693:9693
env_file:
- .env
- .dev.env
Expand All @@ -103,8 +106,7 @@ services:
- synmetrix_default

hasura:
build:
context: ./services/hasura
image: hasura/graphql-engine:${HASURA_VERSION}
restart: always
ports:
- 8080:8080
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ services:
- synmetrix_default

hasura:
image: ${REGISTRY_HOST}/synmetrix/hasura:latest
build:
context: ./services/hasura/
image: hasura/graphql-engine:${HASURA_VERSION}
deploy:
labels:
- traefik.enable=true
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
- synmetrix_default

hasura:
image: synmetrix/hasura:latest
image: hasura/graphql-engine:${HASURA_VERSION}
env_file:
- .env
- .dev.env
Expand Down
1 change: 0 additions & 1 deletion services/hasura/Dockerfile

This file was deleted.

0 comments on commit 8bada8b

Please sign in to comment.