Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base URL Fixes #63

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Populate env file
run : |
sed -i 's#ES_DEPLOY_ADDRESS=#ES_DEPLOY_ADDRESS=http://127.0.0.1:8074/#' env.example
sed -i 's#TRUSTED_ORIGINS=#TRUSTED_ORIGINS=http://127.0.0.1#' env.example
sed -i 's#ES_ADDRESS=#ES_ADDRESS=http://127.0.0.1:10001/#' env.example
mv env.example .env
- name: Docker build and run
run : docker compose up --build -d

Expand Down
11 changes: 2 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,10 @@ services:
- ES_ADDRESS
build:
context: platformtools
platforms:
- "linux/amd64"
szschaler marked this conversation as resolved.
Show resolved Hide resolved
dockerfile: xtext/Dockerfile
args:
- TRUSTED_ORIGINS=$TRUSTED_ORIGINS
- ES_ADDRESS=$ES_ADDRESS
restart: unless-stopped

mdenet-service-discovery:
image: mdenet-service-discovery:latest
ports:
- 3000:3000
build:
context: educationplatform
dockerfile: ./discovery-service/Dockerfile
restart: unless-stopped
Loading