Skip to content

Commit

Permalink
config(docker-compose,turbo): updates configs
Browse files Browse the repository at this point in the history
adds build args to compose file

adds environment variable dependencies to turbo config

[skip ci]
  • Loading branch information
deopea-david committed Mar 1, 2023
1 parent 5869062 commit 98b7f35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ services:
context: .
dockerfile: apps/earth/Dockerfile
args:
NODE_ENV: $NODE_ENV
DOTENV_KEY: $DOTENV_KEY
PORT: 4040
ports:
- 4040:4040
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["PORT", "DOTENV_KEY"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
Expand Down

0 comments on commit 98b7f35

Please sign in to comment.