eduhub-org / eduhub

A comprehensive education platform focusing on course applications, event registrations, learning communities, and more.
https://edu.opencampus.sh
GNU Affero General Public License v3.0
10 stars 7 forks source link

[FEATURE] Gitpod Support #814

Open mattinannt opened 8 months ago

mattinannt commented 8 months ago

Write a customer announcement
Start by writing how exactly you would announce the new feature to the users. This will then actually be used!

Especially because of the complex setup it would be pretty great to have a one-click Gitpod setup that enables more contributors to join the project easily.

Is your feature request related to a problem? Please describe. Setting up this project on different operating systems could lead to different problems with Docker, Git or one of the services.

Describe the solution you'd like
A clear and concise description of what you want to happen.

A one-click gitpod setup that opens a fully working workspace on gitpod

Additional requirements
List any additional requirements or dependencies that this new feature may have.

steffen74 commented 8 months ago

I just changed the .gitpod.yml Does work for you now @mattinannt ?

mattinannt commented 8 months ago

@steffen74 Unfortunately I doesn't work for me, not found on port 5000 as well as 5001. docker compose logs aren't really helping; I will take a closer look in the coming days. btw do you need all the ports in the docker-compose.yml? If you write

  ports:
      - "42025:42025"

you make the port 42025 accessible outside the docker network (on the host machine). But I think for most ports you could also just access them within docker (e.g. when python functions or the database are called by hasura and doesn't need to be available to the outside). This would make the docker-compose file more readable and also the whole system more secure.

steffen74 commented 8 months ago

Your are righ @mattinannt thpse ports don't need to be accessible from outside. Is it maybe a problem thati docker is used inside docker?