Created
October 18, 2019 10:34
-
-
Save dmytrotkk/8ea28b27b5f3dac9e5eb501fe42f0afd to your computer and use it in GitHub Desktop.
Limit Docker volume size tutorial snippet
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
[Unit] | |
Description=Convoy volume management service | |
After=network.target | |
StartLimitIntervalSec=0 | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=5 | |
ExecStart=convoy daemon --drivers devicemapper --driver-opts dm.datadev=$DISK_MOUNTPOINT\1 --driver-opts dm.metadatadev=$DISK_MOUNTPOINT\2 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment