Sign inSign up

ebruni/mojo-leds

By ebruni

Updated over 1 year ago

All necessary components required to run Mojo::Leds framework components

Image
Languages & frameworks
Developer tools
0

2.3K

ebruni/mojo-leds repository overview

What is Mojo::Leds?

Mojo::Leds is a docker image with all necessary components required to Mojo::Leds [https://metacpan.org/pod/Mojo::Leds] framework components .

All images, unless explicitly defined, are based on ebruni/mojolicious and provide installed together with these Perl modules:

How to use this image

Generate an example application.

Go to your code folder, call Mojolicious to create the basic application structure with you as the owner.

$ docker run --rm -v \"$(pwd):/var/www\" ebruni/mojo-leds:latest mojo generate leds_app MyApp

Start the application as daemon.

$ cd my_app
$ docker container run -d --rm -v \"$(pwd):/var/www\" -p 3000:3000 ebruni/mojo-leds morbo script/my_app

To run the container in the foreground and read the output, omit the -d and add -ti.

$ docker container run --rm -ti -v \"$(pwd):/var/www\" -p 3000:3000 ebruni/mojo-leds morbo script/my_app

Browse to localhost:3000 and edit the code in the current folder. If you are on Linux or MacOS, the server will restart whenever you change a file. On Windows this works if you use Docker Desktop with WSL 2.

To switch from development to production an run the application as daemon in the full featured non-blocking web server start it with

$ docker container run -d --rm -v \"$(pwd):/var/www\" -p 3000:3000 ebruni/mojo-leds morbo script/my_app prefork

Authors

Emiliano Bruni (EB)

Changes

AUTHORDATEVER.COMMENTS
EB2025-03-211.20Update micso-mongodb to alpine 3.20. Mojolicious to v. 9.38
EB2024-11-041.19Update to Mojo::Leds v.1.18
EB2022-07-131.18Includes mysql options
EB2022-06-081.17Update to Mojo::Leds v.1.15
EB2022-06-071.16Update to Mojolicious v.9.26
EB2022-06-071.15Update to Mojo::Leds v.1.14
EB2022-06-011.14Update to Mojo::Leds v.1.13
EB2022-02-241.13Update to Minion::Backend::MongoDB v.1.14 and Mojolicious v. 9.22
EB2022-01-171.12Update to Minion::Backend::MongoDB v.1.13
EB2021-12-161.11Update to M::P::AutoRoutePm v.0.23
EB2021-11-221.10Update to M::P::AutoRoutePm v.0.22
EB2021-11-171.09Update to Mojo::Leds v.1.12
EB2021-11-041.08Update to Minion::Backend::MongoDB v.1.12
EB2021-09-241.07Update to Mojo::Leds v.1.11 and backend v.1.10
EB2021-09-201.06Update to Mojo::Leds 1.10
EB2021-09-091.05Update to latest parent container
EB2021-09-071.04Update to latest mojolicious:minion
EB2021-08-241.03Reduced image size
EB2021-08-231.02Standard starup & mongodb/micso tags
EB2021-08-091.01Create default app
EB2021-07-291.0Initial Version

Source

The source of this image on GitHub.

Tag summary

Content type

Image

Digest

sha256:4adfa98af

Size

26.3 MB

Last updated

over 1 year ago

docker pull ebruni/mojo-leds