Skip to content

Commit 21749d6

Browse files
committed
moving scripts into bin/
1 parent 5bf1bce commit 21749d6

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

build_github.sh renamed to bin/build_github.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ fi
1212

1313
source .env
1414

15+
export FRONTEND_BUILD_CONTEXT="https://${GH_TOKEN}@${FRONTEND_REPO_URL}#${FRONTEND_REF}"
16+
export API_BUILD_CONTEXT="https://${GH_TOKEN}@${API_REPO_URL}#${API_REF}"
17+
export BACKEND_BUILD_CONTEXT="https://${GH_TOKEN}@${BACKEND_REPO_URL}#${BACKEND_REF}"
1518

1619
# Create temporary container to copy nginx config
1720
docker volume create project_nginx_conf

build_local.sh renamed to bin/build_local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ echo $API_BUILD_CONTEXT
1111
echo $BACKEND_BUILD_CONTEXT
1212

1313
# Run Docker Compose
14-
docker-compose --profile core -f docker-compose.local.yaml up --build -d
14+
./bin/up_local.sh
File renamed without changes.

bin/up_local.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
docker-compose --profile core -f docker-compose.local.yaml up --build -d

0 commit comments

Comments
 (0)