Follow instructions here
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.6" | |
| services: | |
| promtail: | |
| image: grafana/promtail:1.4.0 | |
| container_name: promtail | |
| command: [ "-config.file=/etc/promtail/local-config.yaml" ] | |
| volumes: | |
| - './promtail.yml:/etc/promtail/local-config.yaml:ro' | |
| - '__path_to_logs_directory__:/app/log:ro' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| /* | |
| * Serverless contact form handler for Cloudflare Workers. | |
| * Emails are sent via Mailgun. | |
| * | |
| * Learn more at https://maxkostinevich.com/blog/serverless-contact-form | |
| * Live demo: https://codesandbox.io/s/serverless-contact-form-example-x0neb | |
| * | |
| * (c) Max Kostinevich / https://maxkostinevich.com | |
| */ |
Adapted from caddy systemd Service Unit
The provided file should work with systemd version 219 or later. It might work with earlier versions.
The easiest way to check your systemd version is to run systemctl --version.
We will assume the following: