Skip to content

Commit

Permalink
fix(.github): Simplify env_file
Browse files Browse the repository at this point in the history
Signed-off-by: Diwank Singh Tomer <[email protected]>
  • Loading branch information
creatorrr committed Apr 17, 2024
1 parent b0e2dc6 commit df3a71a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 35 deletions.
24 changes: 4 additions & 20 deletions agents-api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ include:
services:
agents-api:
image: julepai/agents-api:dev
env_file:
- path: .env
required: false
- path: ../.env
required: false
env_file: "../.env"

container_name: agents-api
depends_on:
Expand Down Expand Up @@ -42,11 +38,7 @@ services:

worker:
image: julepai/worker:dev
env_file:
- path: .env
required: false
- path: ../.env
required: true
env_file: "../.env"

build:
context: .
Expand Down Expand Up @@ -91,11 +83,7 @@ services:
temporal:
image: julepai/temporal:dev
container_name: temporal
env_file:
- path: .env
required: false
- path: ../.env
required: true
env_file: "../.env"

build:
context: .
Expand All @@ -112,11 +100,7 @@ services:

cozo-migrate:
image: julepai/cozo-migrate:dev
env_file:
- path: .env
required: false
- path: ../.env
required: true
env_file: "../.env"

container_name: cozo-migrate
depends_on:
Expand Down
6 changes: 1 addition & 5 deletions gateway/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ include:
services:
gateway:
image: julepai/gateway:dev
env_file:
- path: .env
required: false
- path: ../.env
required: true
env_file: "../.env"

environment:
- GATEWAY_PORT=80
Expand Down
6 changes: 1 addition & 5 deletions memory-store/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ version: "3"
services:
memory-store:
image: julepai/memory-store:dev
env_file:
- path: .env
required: false
- path: ../.env
required: true
env_file: "../.env"
environment:
- COZO_AUTH_TOKEN=${COZO_AUTH_TOKEN}
- COZO_PORT=${COZO_PORT}
Expand Down
7 changes: 2 additions & 5 deletions model-serving/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ name: julep-model-serving
services:
model-serving:
image: julepai/model-serving:dev
env_file:
- path: .env
required: false
- path: ../.env
required: true
env_file: "../.env"

environment:
- MODEL_API_KEY=${MODEL_API_KEY}
- MODEL_API_KEY_HEADER_NAME=${MODEL_API_KEY_HEADER_NAME}
Expand Down

0 comments on commit df3a71a

Please sign in to comment.