Kartikey Tanna
c60cc92dfe
Traefik service name to be derived from role and destination
2023-04-09 13:44:57 +05:30
Donal McBreen
c06585fef4
Daemon/host/role accessories
...
Allow the hosts for accessories to be specified by host or role, or on
all app hosts by setting `daemon: true`.
```
# Single host
mysql:
host: 1.1.1.1
# Multiple hosts
redis:
hosts:
- 1.1.1.1
- 1.1.1.2
# By role
monitoring:
roles:
- web
- jobs
```
2023-03-28 13:26:27 +01:00
Javier Aranda
5d5d58a4ec
#142 Allow to customize container options in accessories
2023-03-23 23:56:59 +01:00
Jeremy Daer
035e4afff7
Validate that all roles have hosts
2023-03-23 08:57:34 -07:00
Jeremy Daer
c870e560c1
Accessories aren't required to publish a port
...
Allows for background accessories like schedulers that don't act
as typical network service dependencies and have no port to expose.
2023-03-23 00:10:30 -07:00
Jacopo
50ee954ca9
Fix Traefik retry middleware
...
As per [Traefik docs](https://doc.traefik.io/traefik/middlewares/overview/#configuration-example )
a middleware to be activated needs to be applied to a route. Change the default settings
to apply the `retry` middleware on every role with Traefik enabled.
2023-03-14 12:15:00 +01:00
David Heinemeier Hansson
3026a92c98
Merge pull request #71 from tbuehlmann/destination-awareness
...
Destination aware container names
2023-03-09 13:25:49 +00:00
David Heinemeier Hansson
d3f07d6313
Allow custom options per role
2023-03-09 11:09:19 +01:00
David Heinemeier Hansson
98a14f6173
Add cmd args for roles
2023-03-09 11:01:06 +01:00
Tobias Bühlmann
170562c7e7
Let App be aware of destination
2023-03-03 15:29:00 +01:00
David Heinemeier Hansson
371f98d67f
Start before stopping and longer timeouts
2023-02-22 19:04:23 +01:00
Paul Gabriel
f81ba12aa5
fix(escape): Escape double quotes and all other characters reliably
2023-02-20 16:49:47 +01:00
Paul Gabriel
25e8b91569
fix(escape-cli-args): Always use quotes to escape CLI arguments
2023-02-20 15:02:34 +01:00
David Heinemeier Hansson
933ece35ab
Add healthcheck before deploy
2023-02-18 16:22:08 +01:00
David Heinemeier Hansson
45207f0c4f
Explain the dance
2023-02-04 15:27:41 +01:00
David Heinemeier Hansson
64a5a790a7
Ensure secret can be used alone
2023-02-04 15:26:43 +01:00
Farah Schüller
80b90ab689
Align config class name with file name
...
`Mrsk::Configuration::Assessory` -> `Mrsk::Configuration::Accessory` thus
aligning with the name of the file.
2023-02-02 12:44:48 +01:00
David Heinemeier Hansson
3f44e25b63
Allow dynamic accessory files to reference declared ENVs
2023-02-01 14:45:56 +01:00
David Heinemeier Hansson
03488bc67a
Add managed accessory directories
2023-01-23 13:36:47 +01:00
David Heinemeier Hansson
e1d518216a
Add dynamic file expansion
2023-01-23 12:45:49 +01:00
David Heinemeier Hansson
148c43fe29
Extract make_directory_for
2023-01-23 10:37:19 +01:00
David Heinemeier Hansson
1bcc65bc56
Must use absolute path
2023-01-23 10:04:55 +01:00
David Heinemeier Hansson
8af7e48a90
Add file mapping to accessories
2023-01-23 09:43:57 +01:00
David Heinemeier Hansson
6b98eb3677
Operate accessories
...
When you want mysql, redis, and the like under MRSK management
2023-01-22 16:52:57 +01:00
David Heinemeier Hansson
fd23fc1dfd
Ensure env secrets are merged correctly with roles
2023-01-21 11:32:40 +01:00
David Heinemeier Hansson
ef9259fdd8
Hash uses except not without
2023-01-20 14:37:43 +01:00
David Heinemeier Hansson
8a32cc9c84
Traefik hosts can now be more than just web
2023-01-20 13:38:57 +01:00
David Heinemeier Hansson
2cb09be0cd
Allow any role to turn on traefik labels
2023-01-20 13:32:12 +01:00
David Heinemeier Hansson
135fcdd9d3
Allow role to set env
2023-01-20 13:26:27 +01:00
David Heinemeier Hansson
9bb1fb7166
Move argumentize to Utils
2023-01-20 10:26:36 +01:00
David Heinemeier Hansson
7e9b73f86a
Add custom labels
2023-01-12 17:15:29 +01:00
David Heinemeier Hansson
e8beb362d0
Add role concern with specialized cmds for job running
2023-01-10 17:27:56 +01:00