mrsk 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -0
- data/lib/mrsk/cli/main.rb +1 -1
- data/lib/mrsk/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0065b91bb3c00ef0ef6db78eb605d8db5df3606ccf97be15bb059ab1985231d5
|
4
|
+
data.tar.gz: 2ed2b0c6235ea398bc5717aebf99e2a4f1e6c9434c64da5eed6d8899b0ca335e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c00ed2e4693b62e0eeb238c17d4c17b3e06ed03ed580aea7ca724a4629c28274d77bc31fa63ca1d1e5f07b1f73e6b2ecc164a076d2ad5307b7e30625cea2ee7a
|
7
|
+
data.tar.gz: ee273834e9e330640ef6b55acc4dabeeef6c4e9178112351376c3ab1e23afeb9fa389a08b6cf5a8c3bbaafc079d7cabc98d316fd08030a8886c12d5020a68653
|
data/README.md
CHANGED
@@ -330,6 +330,21 @@ accessories:
|
|
330
330
|
|
331
331
|
Now run `mrsk accessory start mysql` to start the MySQL server on 1.1.1.3. See `mrsk accessory` for all the commands possible.
|
332
332
|
|
333
|
+
### Using Cron
|
334
|
+
|
335
|
+
You can use a specific container to run your Cron jobs:
|
336
|
+
|
337
|
+
```yaml
|
338
|
+
servers:
|
339
|
+
cron:
|
340
|
+
hosts:
|
341
|
+
- 192.168.0.1
|
342
|
+
cmd:
|
343
|
+
bash -c "cat config/crontab | crontab - && cron -f"
|
344
|
+
```
|
345
|
+
|
346
|
+
This assumes the Cron settings are stored in `config/crontab`.
|
347
|
+
|
333
348
|
### Using a generated .env file
|
334
349
|
|
335
350
|
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:
|
data/lib/mrsk/cli/main.rb
CHANGED
@@ -146,7 +146,7 @@ class Mrsk::Cli::Main < Mrsk::Cli::Base
|
|
146
146
|
if options[:confirmed] || ask(remove_confirmation_question, limited_to: %w( y N ), default: "N") == "y"
|
147
147
|
invoke "mrsk:cli:traefik:remove", [], options.without(:confirmed)
|
148
148
|
invoke "mrsk:cli:app:remove", [], options.without(:confirmed)
|
149
|
-
invoke "mrsk:cli:accessory:remove", [ "all" ]
|
149
|
+
invoke "mrsk:cli:accessory:remove", [ "all" ], options
|
150
150
|
invoke "mrsk:cli:registry:logout", [], options.without(:confirmed)
|
151
151
|
end
|
152
152
|
end
|
data/lib/mrsk/version.rb
CHANGED