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

Refactor Docker Configuration for Improved Development Workflow #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dominik-warch
Copy link

I've refactored the Docker setup to streamline the development process and reduce the complexity of deployment. Here are the key changes:

  1. GraphDB Integration: Switched to using an official pre-built Docker image for GraphDB, eliminating the need for manual installation.
  2. Spring Backend: Introduced spring.Dockerfile to handle dependency installation and serve the application on port 8080.
  3. Vue Frontend: Created vue.Dockerfile to manage frontend dependencies and serve it on port 8081.

These changes simplify the startup process to a single command: docker compose up from the root directory, replacing the previous approach that relied on the spalod.sh script.

Benefits are:

  1. Reduced Image Size: The new Docker images are smaller and less complex, utilizing lighter base images compared to the previous Ubuntu-based setup.
  2. Simplified Management: By segmenting the services, each component can be managed more efficiently, and issues can be isolated more quickly.

While the updated configuration is operational and has shown no errors in initial testing, it is not yet ready for production. The setup may not cover all operational scenarios or be fully optimized for performance.

I am seeking feedback on possible improvements or overlooked aspects!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant