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

Custom Frontend in docker #647

Open
sstidl opened this issue Aug 5, 2024 · 2 comments
Open

Custom Frontend in docker #647

sstidl opened this issue Aug 5, 2024 · 2 comments
Assignees

Comments

@sstidl
Copy link
Collaborator

sstidl commented Aug 5, 2024

Hi guys,

i've been a very bad boy and have been overwriting standalone.php in my docker-compose.yml to add some deep customizations.

I now realize that this was a bad idea :/ Any quick recommendations on how to easily migrate my standalone.php "fork" to the new structure? I'm not even sure what the right file location would be and i'm not too keen on reimplementing the changes to a more sophistocated and correct way because of no time 🙈 and on top of that i didn'teven use a version control to retrace my steps 🌚 (but out of curiosity - how would one do that "the right way"?)

Originally posted by @jk779 in #645 (comment)

@sstidl
Copy link
Collaborator Author

sstidl commented Aug 5, 2024

@jk779 please post your docker-compose.yml so I can understand your problem

@sstidl sstidl self-assigned this Oct 26, 2024
@sstidl
Copy link
Collaborator Author

sstidl commented Oct 26, 2024

to solve this you have to look at entrypoint.sh. there is the logic for which files are used for the docker image.

default is to use docker/ui.php which can be mounted at /speedtest/ui.php in the compose file

to simplify that for a more complex ui, we have to use a frontend folder which is copied completely not just a single file... this is work in progress in the newdesign branch.

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

No branches or pull requests

1 participant