This container is an example of a multipurpose utility.
YaCron is used to schedule arbitrary jobs.
Nginx is used to serve arbitrary documents.
- Update config/static files as desired
- Nginx (
docker/resources/buildtime/config/nginx.conf
)- See Nginx repository for more details
- Static files (
docker/resources/buildtime/static/**/*
)- Update or remove as desired (make sure to amend corresponding COPY in Dockerfile)
- YaCron (
docker/resources/buildtime/config/yacron.yaml
)- SMTP (mail: to/from/username) settings must be removed or updated to use your own email
- SMTP_PASSWORD (ignore if you have removed SMTP config)
- Note: for gmail, you need to generate an 'app password' for this.
- See YaCron repository for more details
- Nginx (
docker build -f "./docker/Dockerfile" -t kitchen-sink:latest "./docker"
Make sure to have created the secret file (./docker/resources/runtime/secret/smtp_password.txt
) before proceeding
docker run \
--env=SMTP_PASSWORD="$(cat "./docker/resources/runtime/secret/smtp_password.txt")" \
--interactive \
--network=host \
--tty \
--rm \
kitchen-sink:test
http://localhost:8080/public/doc/example.txt