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

Feature: create a script to ontoportal docker api UI #4

Merged
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
fee2590
Update ontoportal docker to use docker compose of the ui and api
imadbourouche Jan 19, 2024
5661fd5
Make the script more configurable using .env file and simplify the ru…
imadbourouche Jan 24, 2024
9ddb305
Configure ontologies_linked_data path & remove (bundle check || bundl…
imadbourouche Jan 24, 2024
11fe11b
Fix the clear methode to clean only the ontoportal_docker running and…
imadbourouche Jan 25, 2024
bd0a166
Get the env file by copying .env.sample not by pulling from the repos…
imadbourouche Jan 25, 2024
6e15c40
Enhanced script configurability and personalization
imadbourouche Feb 29, 2024
30d1246
Merge branch 'main' into feature/create-a-script-to-ontoportal-docker…
syphax-bouazzouni Jun 7, 2024
3fe8fba
remove old docker-compose.yml
syphax-bouazzouni Jun 8, 2024
85aea23
add bats to run bash tests
syphax-bouazzouni Jun 8, 2024
4cb164f
add loading_animation.sh utility to show a loading animation
syphax-bouazzouni Jun 8, 2024
1a4c0fc
no more need to get ontologies_linked_data to run the api
syphax-bouazzouni Jun 8, 2024
f7db349
extract from ontoportal script the file bin/run_api.sh
syphax-bouazzouni Jun 8, 2024
204dbec
add run_cron script to run jobs (import, process ontologies, add users)
syphax-bouazzouni Jun 8, 2024
e21936a
update the old run script to use bin/run_cron.sh and bin/run_api.sh
syphax-bouazzouni Jun 8, 2024
d6b7595
add ontoportal ASCII logo to ontoportal main script
syphax-bouazzouni Jun 9, 2024
b71706f
extract setup and update steps from the run_api.sh script
syphax-bouazzouni Jun 9, 2024
829f63e
re-use api setup step in the ncbo_cron script
syphax-bouazzouni Jun 9, 2024
d9e2ac4
extract the run_ui script form ontoportal main script
syphax-bouazzouni Jun 9, 2024
09d0932
extract deploy.sh script from the ontoportal main script
syphax-bouazzouni Jun 9, 2024
9af832e
add running UI test
syphax-bouazzouni Jun 9, 2024
85e1749
update ontoportal main script to use the sub scripts in folder bin
syphax-bouazzouni Jun 9, 2024
f671d41
add tests CI
syphax-bouazzouni Jun 9, 2024
8e63bac
remove run_cron and update the setup function
imadbourouche Jun 10, 2024
243a3f3
setup and update before starting services & clean parts of code
imadbourouche Jun 10, 2024
5113f97
fix the provision commands & remove api check status duplication
imadbourouche Jun 10, 2024
9f106ec
update api url when running api and ui together & clean some code
imadbourouche Jun 10, 2024
23b21c7
start ontoportal in ui tests instead of starting api and ui seperate
imadbourouche Jun 11, 2024
93ccea3
clean and organize code for api and ui scripts
imadbourouche Jun 14, 2024
1637bab
remove api_url duplication & add cron configuration variables
imadbourouche Jun 14, 2024
199732a
add cron provisioning to start ontoportal with an ontology
imadbourouche Jun 14, 2024
419340b
update help message for ontoportal script
imadbourouche Jun 14, 2024
7f637f7
add deploy.yml config file to .gitignore
imadbourouche Jul 4, 2024
064500f
install network tools & refacore dockerfile configuration
imadbourouche Jul 4, 2024
d6ee059
add push option to push image to docker hub
imadbourouche Jul 4, 2024
1564598
add logic to determine HOST_IP dynamically based on Docker environment
imadbourouche Jul 4, 2024
8bc4c23
use api-service instead of resolving the ip
imadbourouche Jul 4, 2024
4b3e1a1
use dig command to get the docker host ip instead of getent
imadbourouche Jul 4, 2024
31e8709
install bind-tools for dig and remove tail -f from the cmd
imadbourouche Jul 4, 2024
0a41f55
update readme file
imadbourouche Jul 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
install bind-tools for dig and remove tail -f from the cmd
imadbourouche committed Jul 4, 2024
commit 31e8709ca3b38376536676c1d5b6fe1c02126e4c
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -9,12 +9,13 @@ RUN apk --update --no-cache add \
git \
iproute2 \
busybox \
ncurses
ncurses \
bind-tools

COPY . /app
RUN chmod +x /app/ontoportal
RUN chmod +x /app/bin/*
RUN chmod +x /app/utils/*
WORKDIR /app

CMD ["/bin/sh", "-c", "/app/ontoportal start --no-provision && tail -f /dev/null"]
CMD ["/bin/sh", "-c", "/app/ontoportal start --no-provision"]