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

Enhancement: Add support for Docker #4

Closed
fabianhick opened this issue Apr 6, 2019 · 4 comments
Closed

Enhancement: Add support for Docker #4

fabianhick opened this issue Apr 6, 2019 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects

Comments

@fabianhick
Copy link

Running travelynx within a Docker container or with docker-compose would greatly improve setup and operation of the service.

@derf
Copy link
Owner

derf commented Apr 6, 2019

Agreed; I don't have Docker experience myself though. If you don't mind, I'd appreciate a pull request providing a Dockerfile or similar. I'll gladly help, but would prefer if someone with actual Docker experience is involved.

@derf derf added enhancement New feature or request help wanted Extra attention is needed labels Apr 6, 2019
@fabianhick
Copy link
Author

I just tried to pack it into a container, but unfortunately I have been unable to access the application after starting it up, because it keeps saying "raptor not found"...
What could be the reason for that?

@derf
Copy link
Owner

derf commented Apr 7, 2019

That probably means that it's unable to find templates/landingpage.html.ep and templates/layouts/default.html.up. Is your working directory set to the repository root (i.e., the directory where templates/ resides)?

You should find more information in the Mojolicious debug output, in my case it ends up in /var/log/daemon.log

@fabianhick
Copy link
Author

Now it is able to find those templates, but now it is unable to load static files...
Each static asset creates a "raptor not found" error.
The logs don't show anything useful either.

derf added a commit that referenced this issue May 5, 2019
@derf derf added this to To do in Travelynx Nov 18, 2019
@derf derf moved this from To do to In progress in Travelynx Nov 18, 2019
@derf derf closed this as completed in 8ec7834 Feb 19, 2022
Travelynx automation moved this from In progress to Done Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Travelynx
  
Done
Development

No branches or pull requests

2 participants