Jeroen De Meerleer
ccd2ba485c
The PHP extension installation commands have been refactored across multiple Dockerfiles. Previously, all extensions were installed in a single command. Now, each extension is installed with its own dedicated command. This change enhances readability and maintainability of the code. |
||
---|---|---|
.dockerignore | ||
.env | ||
apache2-foreground | ||
docker-compose.seperate.yml | ||
docker-compose.yml | ||
Dockerfile | ||
Dockerfile.daemon | ||
Dockerfile.webui | ||
entrypoint.daemon.sh | ||
entrypoint.sh | ||
entrypoint.webui.sh | ||
LICENSE.md | ||
README.md | ||
wait-for-it.sh |
Webcron Management (Docker Images)
(c) 2017, 2021- Jeroen De Meerleer me@jeroened.be
Webcron management is an easy-to-use interface to manage cronjob running on a publicly available http-location.
How to use the container
To deploy webcron management using a docker container I have created multiple options.
- 1 Container running daemon and webui at once (Easier)
- 2 Containers running daemon and webui in separate containers (More in accordance to docker philisophy)
Option 1: 1 Container (Easier)
-
Create your .env file in the root of the compose instance. You can copy the .env from this repository and adapt to your config.
Alternatively you can can assign the environment vars in the directly in the compose file. It's up to you what is easier for you.
-
Create your docker-compose file. You can copy the example config from this repository.
-
Start the container
docker compose up -d
- Create the first user
docker compose exec app php bin/console webcron:user add
- Webcron management is available on http://localhost/
Option 1: 2 Containers (Recommended)
-
Create your .env file in the root of the compose instance. You can copy the .env from this repository and adapt to your config.
Alternatively you can can assign the environment vars in the directly in the compose file. It's up to you what is easier for you.
-
Create your docker-compose file. You can copy the example config from this repository.
-
Start the container
docker compose up -d
- Create the first user
docker compose exec daemon php bin/console webcron:user add
- Webcron management is available on http://localhost/