Compare commits
5 Commits
more-resil
...
v0.8.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
08dd468d87 | ||
|
|
9a4f502cc4 | ||
|
|
11e6f7914d | ||
|
|
c1013543f9 | ||
|
|
eb46d0507e |
@@ -1,7 +1,7 @@
|
|||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
mrsk (0.8.2)
|
mrsk (0.8.3)
|
||||||
activesupport (>= 7.0)
|
activesupport (>= 7.0)
|
||||||
dotenv (~> 2.8)
|
dotenv (~> 2.8)
|
||||||
sshkit (~> 1.21)
|
sshkit (~> 1.21)
|
||||||
|
|||||||
15
README.md
15
README.md
@@ -330,6 +330,21 @@ accessories:
|
|||||||
|
|
||||||
Now run `mrsk accessory start mysql` to start the MySQL server on 1.1.1.3. See `mrsk accessory` for all the commands possible.
|
Now run `mrsk accessory start mysql` to start the MySQL server on 1.1.1.3. See `mrsk accessory` for all the commands possible.
|
||||||
|
|
||||||
|
### Using Cron
|
||||||
|
|
||||||
|
You can use a specific container to run your Cron jobs:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
servers:
|
||||||
|
cron:
|
||||||
|
hosts:
|
||||||
|
- 192.168.0.1
|
||||||
|
cmd:
|
||||||
|
bash -c "cat config/crontab | crontab - && cron -f"
|
||||||
|
```
|
||||||
|
|
||||||
|
This assumes the Cron settings are stored in `config/crontab`.
|
||||||
|
|
||||||
### Using a generated .env file
|
### Using a generated .env file
|
||||||
|
|
||||||
If you're using a centralized secret store, like 1Password, you can create `.env.erb` as a template which looks up the secrets. Example of a .env.erb file:
|
If you're using a centralized secret store, like 1Password, you can create `.env.erb` as a template which looks up the secrets. Example of a .env.erb file:
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ class Mrsk::Cli::Main < Mrsk::Cli::Base
|
|||||||
if options[:confirmed] || ask(remove_confirmation_question, limited_to: %w( y N ), default: "N") == "y"
|
if options[:confirmed] || ask(remove_confirmation_question, limited_to: %w( y N ), default: "N") == "y"
|
||||||
invoke "mrsk:cli:traefik:remove", [], options.without(:confirmed)
|
invoke "mrsk:cli:traefik:remove", [], options.without(:confirmed)
|
||||||
invoke "mrsk:cli:app:remove", [], options.without(:confirmed)
|
invoke "mrsk:cli:app:remove", [], options.without(:confirmed)
|
||||||
invoke "mrsk:cli:accessory:remove", [ "all" ]
|
invoke "mrsk:cli:accessory:remove", [ "all" ], options
|
||||||
invoke "mrsk:cli:registry:logout", [], options.without(:confirmed)
|
invoke "mrsk:cli:registry:logout", [], options.without(:confirmed)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
module Mrsk
|
module Mrsk
|
||||||
VERSION = "0.8.2"
|
VERSION = "0.8.3"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user