Eric Yen
245fec68a2
add support for more docker-compose build options
2024-02-09 22:46:18 -08:00
Jasper Chan
6881b440b6
add support for stop_grace_period
2023-11-06 21:58:30 -08:00
LoveIsGrief
638c4b8e55
fix: services.<name>.service.build.context
...
One could declare it, but it was unceremoniously ignored.
A "localhost/" image was created with pretty much nothing in it
and it couldn't be launched.
The cause was services.<name>.service.image being always set
and subsequently thugs services.<name>.image.nixBuild being truthy.
That would build an image and write the services.<name>.image field
in the docker-compose.json. It leads to the build.context being
ignored and the service failing.
This was solved by only writing services.<name>.service.image when
services.<name>.service.build.context is not set.
services.<name>.image.nixBuild is additionally set to false when
the context is set.
Related to #208
2023-08-20 15:20:34 +02:00
Nikita Pedorich
16f9888732
Add missing link_local_ips and priority
2023-07-20 00:17:02 +09:00
Nikita Pedorich
b175f45613
Improve service.networks
2023-07-20 00:12:09 +09:00
Robert Hensing
2ef502c912
Fix doc links
2023-07-19 15:50:08 +02:00
Robert Hensing
890f9d9428
flake.nix: Update nixpkgs
2022-12-02 10:25:01 +00:00
Robert Hensing
c8944a2871
Extract dockerComposeRef and link into new lib.nix
2022-06-09 01:20:09 +02:00
t4ccer
fb5ab7b76f
Move healthcheck options to healthcheck
submodule
2022-04-27 19:43:16 -06:00
t4ccer
69b9109dea
Define module for detailed depends_on
options
2022-04-27 14:23:25 -06:00
t4ccer
cf20442a7a
Add service.healthcheck.start_period
option
2022-04-27 13:54:12 -06:00
t4ccer
ec8ef96d52
Add service.healthcheck and extend service.depends_on
2022-04-26 18:35:08 -06:00
lunik1
aed2c40e77
Add service.dns
2021-04-10 00:51:40 +01:00
Robert Hensing
bb23a55c8a
Improve labels example
2021-01-22 10:39:34 +01:00
Robert Hensing
35cb7adfb5
service.labels: Bad example
2021-01-20 18:20:07 +01:00
Robert Hensing
38048ada2c
Add service.labels
2021-01-20 18:11:52 +01:00
Robert Hensing
0a8f8e7fb8
Fix doc formatting
2019-10-29 12:52:00 +01:00
Robert Hensing
c3a5f8c13f
Assertions, warnings, renames
2019-10-03 21:30:14 +02:00
Serhii Khoma
0f85d7b03c
feat: docker-compose fields -> networks -> add
2019-09-18 19:34:26 +03:00
Serhii Khoma
2d079e4f41
feat: docker-compose fields -> container_name -> add
2019-09-18 12:46:11 +03:00
Domen Kožar
6c7170c365
compose service: add 'sysctls' option
2019-05-07 16:06:13 +07:00
Domen Kožar
e800372155
docker-compose: support 'user' entry
2019-05-07 14:14:49 +07:00
Robert Hensing
ac49df440f
Add service.devices option
2019-03-11 15:04:34 +01:00
Robert Hensing
2f11979597
Add service.capabilities option
2019-03-11 15:04:34 +01:00
Robert Hensing
ac012a1ad1
formatting
2019-03-11 15:04:34 +01:00
Robert Hensing
00f7b3e711
Make the service name available to the service config
2019-03-11 14:44:18 +01:00
Robert Hensing
35a309097a
Add support for NixOS inside containers
2019-03-05 19:41:54 +01:00
Serhii Khoma
0637a1ace9
Add and fix some service fields
...
I had to do a manual rebase.
The hard work was done by srghma. Thanks!
2019-03-04 00:33:53 +01:00
Robert Hensing
cf562d6234
Move build.service option to top
2019-03-04 00:13:57 +01:00
Robert Hensing
dc762a79bf
Use the right string type
2019-03-04 00:13:01 +01:00
Robert Hensing
ccaac02a87
Add doc/manual, tweak README
2019-03-03 23:42:40 +01:00
Robert Hensing
359c8b601d
Move modules into modules/{composition,service}
2019-02-13 17:33:19 +07:00