Jeroen De Meerleer
0de1cd40ac
The bcmath PHP extension was removed from multiple Dockerfiles. This change simplifies the build process and reduces the overall size of the resulting images. |
||
---|---|---|
.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/