All necessary components required to run Mojo::Leds framework components
2.3K
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:
Mojo::Leds: 1.20, latest (main/Dockerfile) (size: 65.9MB)
Mojo::Leds: 1.20-micso-mysql, micso-mysql (micso-mysql/Dockerfile) (size: 153MB) based on ebruni/mojolicious:mysql with these additional Perl modules
Mojo::Leds: 1.20-mysql, mysql (mysql/Dockerfile) (size: 99.7MB) based on ebruni/mojolicious:mysql * Mojo::Leds: 1.20-mongodb, mongodb (mongodb/Dockerfile) (size: 70.7MB) based on ebruni/mojolicious:mongodb with these additional Perl modules
Mojo::Leds: 1.20-micso-mongodb, micso-mongodb (micso-mongodb/Dockerfile) (size: 119MB) based on ebruni/minion-backend-mongodb:mongodb with these additional Perl modules
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
Emiliano Bruni (EB)
| AUTHOR | DATE | VER. | COMMENTS |
|---|---|---|---|
| EB | 2025-03-21 | 1.20 | Update micso-mongodb to alpine 3.20. Mojolicious to v. 9.38 |
| EB | 2024-11-04 | 1.19 | Update to Mojo::Leds v.1.18 |
| EB | 2022-07-13 | 1.18 | Includes mysql options |
| EB | 2022-06-08 | 1.17 | Update to Mojo::Leds v.1.15 |
| EB | 2022-06-07 | 1.16 | Update to Mojolicious v.9.26 |
| EB | 2022-06-07 | 1.15 | Update to Mojo::Leds v.1.14 |
| EB | 2022-06-01 | 1.14 | Update to Mojo::Leds v.1.13 |
| EB | 2022-02-24 | 1.13 | Update to Minion::Backend::MongoDB v.1.14 and Mojolicious v. 9.22 |
| EB | 2022-01-17 | 1.12 | Update to Minion::Backend::MongoDB v.1.13 |
| EB | 2021-12-16 | 1.11 | Update to M::P::AutoRoutePm v.0.23 |
| EB | 2021-11-22 | 1.10 | Update to M::P::AutoRoutePm v.0.22 |
| EB | 2021-11-17 | 1.09 | Update to Mojo::Leds v.1.12 |
| EB | 2021-11-04 | 1.08 | Update to Minion::Backend::MongoDB v.1.12 |
| EB | 2021-09-24 | 1.07 | Update to Mojo::Leds v.1.11 and backend v.1.10 |
| EB | 2021-09-20 | 1.06 | Update to Mojo::Leds 1.10 |
| EB | 2021-09-09 | 1.05 | Update to latest parent container |
| EB | 2021-09-07 | 1.04 | Update to latest mojolicious:minion |
| EB | 2021-08-24 | 1.03 | Reduced image size |
| EB | 2021-08-23 | 1.02 | Standard starup & mongodb/micso tags |
| EB | 2021-08-09 | 1.01 | Create default app |
| EB | 2021-07-29 | 1.0 | Initial Version |
The source of this image on GitHub.
Content type
Image
Digest
sha256:4adfa98af…
Size
26.3 MB
Last updated
over 1 year ago
docker pull ebruni/mojo-leds