Docker-related files to build deployment images
Go to file
Jeroen De Meerleer 0fc2298106
Added health checks to Dockerfiles
Health check commands have been added to the Dockerfiles. These checks will run at an interval of 30 seconds, with a timeout of 10 seconds and a start period of 5 seconds. The system will retry these checks up to three times before marking the service as unhealthy. Different health check commands are used depending on the specific Dockerfile.
2024-12-13 11:35:58 +01:00
.dockerignore Better entrypoint 2022-05-06 10:26:37 +02:00
.env NEW FEATURE: docker-image 2022-09-01 13:09:42 +02:00
apache2-foreground Better entrypoint 2022-05-06 10:26:37 +02:00
docker-compose.seperate.yml UPDATED README 2022-11-08 17:12:15 +01:00
docker-compose.yml NEW FEATURE: docker-image 2022-09-01 13:09:42 +02:00
Dockerfile Added health checks to Dockerfiles 2024-12-13 11:35:58 +01:00
Dockerfile.daemon Added health checks to Dockerfiles 2024-12-13 11:35:58 +01:00
Dockerfile.webui Added health checks to Dockerfiles 2024-12-13 11:35:58 +01:00
entrypoint.daemon.sh We don't need WebUI to run database commands 2022-09-21 16:13:26 +02:00
entrypoint.sh Using doctrine migrations 2022-09-07 14:37:42 +02:00
entrypoint.webui.sh We don't need WebUI to run database commands 2022-09-21 16:13:26 +02:00
LICENSE.md Better entrypoint 2022-05-06 10:26:37 +02:00
README.md UPDATED README 2022-11-08 17:12:15 +01:00
wait-for-it.sh Better entrypoint 2022-05-06 10:26:37 +02:00

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)

  1. 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.

  2. Create your docker-compose file. You can copy the example config from this repository.

  3. Start the container

    docker compose up -d
  1. Create the first user
    docker compose exec app php bin/console webcron:user add
  1. Webcron management is available on http://localhost/
  1. 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.

  2. Create your docker-compose file. You can copy the example config from this repository.

  3. Start the container

    docker compose up -d
  1. Create the first user
    docker compose exec daemon php bin/console webcron:user add
  1. Webcron management is available on http://localhost/