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] make an easily deployable docker #938

Closed
S0ly opened this issue Mar 21, 2024 · 12 comments · May be fixed by #946
Closed

[Feature] make an easily deployable docker #938

S0ly opened this issue Mar 21, 2024 · 12 comments · May be fixed by #946
Labels
Feature Adding a new feature, or substantial improvements on existing functionality Medium Priority Needs attention, not urgent

Comments

@S0ly
Copy link
Member

S0ly commented Mar 21, 2024

Feature Description

deploying pterodactyl inside a docker is possible, so why not CPGG ?

Solution Idea

it would be nice to have a better documentation of the docker and have a image in docker hub
it would enable easy deployment and deployment on things like unraid etc... it would be a nice feature to have

Additional Info

No response

@S0ly S0ly added the Feature Adding a new feature, or substantial improvements on existing functionality label Mar 21, 2024
@sybetjeh
Copy link

sybetjeh commented Apr 3, 2024

@S0ly
Copy link
Member Author

S0ly commented Apr 3, 2024

it have no pull or stars, I think I seen 1d2d on the discord but is the docker working ? any documentation on how it work ?

@S0ly
Copy link
Member Author

S0ly commented Apr 3, 2024

what port, variable, etc..

@sybetjeh
Copy link

sybetjeh commented Apr 3, 2024

I've tried, and it seems like the image is indeed broken. I'll look into updating it and possibly adding documentation

@S0ly
Copy link
Member Author

S0ly commented Apr 3, 2024

yep, thanks :D

@sybetjeh sybetjeh added the Low Priority Can wait, not urgent. Handle when possible label Apr 4, 2024
@Hyd3r1
Copy link
Contributor

Hyd3r1 commented Apr 12, 2024

You can use docker-compose files (docker directory) - it's working (i've tested locally)

https://github.com/Ctrlpanel-gg/panel/tree/main/docker

@S0ly
Copy link
Member Author

S0ly commented Apr 12, 2024

yep but its not clearly documented or in docker hub its just in some sort of construction / unfinished :)

This was referenced Apr 30, 2024
@S0ly S0ly linked a pull request May 14, 2024 that will close this issue
4 tasks
@S0ly S0ly added Medium Priority Needs attention, not urgent and removed Low Priority Can wait, not urgent. Handle when possible labels May 17, 2024
@jameskitt616
Copy link

Is there anything holding this back? I would be very happy helping out testing this or similar to make this happen.
I look forward to a docker image hosted on any container registry (github, dockerhub or wherever), i think this would be a huge benefit for this project just having a docker container people can deploy.

Thank you very much @S0ly for making this PR! <3

@S0ly
Copy link
Member Author

S0ly commented May 20, 2024

Hi @jameskitt616!

The standalone Docker setup should be ready, but it's made for the dev branch. It might work on the main branch, but I haven't tested it there. It's not released yet because the dev branch has issues that prevent further testing.

If you want to test it on the main branch, you'll need to build your own image using the Docker folder from the PR.

Steps to test:

  1. get the Docker folder from the PR.
  2. Navigate to /docker/standalone.
  3. Run:
    docker compose up
    /!\ Please check and modify the compose values if needed.

If you want to build your own image instead of using docker compose up, run:

docker build -t controlpanel_web:my -f ../../docker/standalone/Dockerfile ../../

@jameskitt616
Copy link

Thanks! So i checked out your branch, configured the compose and ran the ctrlpanel setup. The panel came up as expected, only weird thing is that the if i open e.g. the Overview i get an exception in the logs Request Failed, is pterodactyl set-up correctly? - cURL error 6: Could not resolve host: api.
I don't know why it says host: api, i configured it with a fully working pterodactyl instance on a subdomain.

@S0ly
Copy link
Member Author

S0ly commented May 20, 2024

@jameskitt616

Strange, I didn't encounter this error. If you're on Discord, could you create a support ticket and ping me there? This way, we won't spam this chat. :)

@S0ly
Copy link
Member Author

S0ly commented Jun 24, 2024

will be closed by #946

@S0ly S0ly closed this as completed Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Adding a new feature, or substantial improvements on existing functionality Medium Priority Needs attention, not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants