Robert Hensing
b9525cef7c
aeson: 1 -> 2
2022-12-02 11:34:29 +00:00
Robert Hensing
890f9d9428
flake.nix: Update nixpkgs
2022-12-02 10:25:01 +00:00
Robert Hensing
8d9824c622
Remove builtins.trace calls
2022-06-09 02:04:51 +02:00
Robert Hensing
037c87837f
Add default network with name = project.name
2022-06-09 01:47:16 +02:00
Robert Hensing
ca785e548b
Add options below networks
2022-06-09 01:47:16 +02:00
Robert Hensing
c8944a2871
Extract dockerComposeRef and link into new lib.nix
2022-06-09 01:20:09 +02:00
Robert Hensing
42146bb0b2
Adjust docs
2022-06-09 01:18:22 +02:00
Robert Hensing
d90c7dc326
project.name: nullOr str -> str
2022-06-01 00:06:33 +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
Robert Hensing
0ee76740d0
image.name: Default to localhost/$name
2022-04-23 23:20:33 +02:00
Robert Hensing
2c10b297ad
Disable _module.args docs
2022-04-08 00:03:13 +02:00
Robert Hensing
baa515d88e
Fix warnings
2022-04-07 22:55:22 +02:00
Robert Hensing
e263614045
Add NixOS module
2021-11-02 12:25:00 +01:00
Tom Prince
ab13e0a3f4
Fix pkgs
of evaluated configuration.
2021-08-25 01:52:02 -06:00
Robert Hensing
2b46a9b5f6
Format
2021-05-31 16:53:57 +02:00
Robert Hensing
dcc5b1e3ce
Test and fix that we only load images when needed
2021-05-31 16:53:57 +02:00
Robert Hensing
144864d61c
Drop NixOS 19.03
2021-05-31 16:53:57 +02:00
Robert Hensing
1a24fe9639
Warn when DynamicUser is used without SYS_ADMIN
2021-05-31 16:53:57 +02:00
Robert Hensing
286d56a83c
Add test with podman docker socket backend
2021-05-31 16:53:57 +02:00
Robert Hensing
e0e7531f7d
Add image.enableRecommendedContents for /bin/sh and such
2021-05-31 16:53:57 +02:00
Robert Hensing
48d3d4b0d7
Use image.includeStorePaths = false, no more "arion base image"
...
The arion base image was a poor substitute for the customization
layer that only worked for some images.
By modifying dockerTools to export only the customization layer,
we can support arbitrary root contents.
2021-05-31 16:53:57 +02:00
Robert Hensing
ad41d1e39b
Use streamLayeredImage for base image
2021-05-24 12:28:32 +02: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
700297748d
Support --no-ansi, --compatibility, --log-level options
2020-10-11 12:47:28 +02:00
Robert Hensing
b959ab492d
Move name -> project.name
2020-10-11 12:02:58 +02:00
Robert Hensing
92c389fab5
Fix tests
2020-10-10 22:14:22 +02:00
Robert Hensing
df0ec2eb50
Add name option for project/composition name
2020-10-10 22:09:35 +02:00
Robert Hensing
067ce26177
Use dockerTools.streamLayeredImage if available
...
Technically this opens a new attack vector, but if you don't trust
the code you're deploying, you should already have taken precautions
because of nix-shell, direnv etc. This just adds arion to that list.
2020-10-02 11:52:35 +02:00
Robert Hensing
88c361c81c
Rename getDockerImages
2020-10-02 11:52:35 +02:00
Robert Hensing
7c20fa9a11
Support use of prebuilt docker-compose.yaml
2020-10-01 18:47:29 +02:00
Robert Hensing
b2e2aad1d5
Fix warning
2020-09-05 23:02:11 +02:00
Robert Hensing
3b86679399
Resolve NonEmpty import warning
2020-03-20 22:28:46 +01:00
Robert Hensing
eeed0577be
haskell: Resolve lines ambiguity
2020-03-20 22:28:37 +01:00
Robert Hensing
1778d76117
arion-base: buildLayeredImage -> buildImage to avoid build error
...
buildLayeredImage doesn't work when the number of nix store layers is 0.
This may be fixed by pull https://github.com/NixOS/nixpkgs/pull/80921/files
but meanwhile, plain buildImage will do the job.
2020-02-24 00:46:26 +01:00
Robert Hensing
0a8f8e7fb8
Fix doc formatting
2019-10-29 12:52:00 +01:00
Robert Hensing
24503bcbe5
Fix warnings
2019-10-29 11:04:25 +01:00
Robert Hensing
dda66e104e
Fix test
2019-10-26 15:37:24 +02:00
Robert Hensing
60f3f34527
Rename module-composition -> modules
2019-10-25 00:32:59 +02:00
Domen Kožar
5140cf0a09
Use antora for documentation
2019-10-25 00:11:35 +02:00
Robert Hensing
7749eb2ef9
Add cabal check to ci, build strictly (once)
2019-10-04 19:09:29 +02:00
Robert Hensing
c8f7f5a6d3
Rename, refactor, hide build.imagesToLoad
...
imagesToLoad is not the right api for non-service images.
2019-10-03 21:55:58 +02:00
Robert Hensing
c3a5f8c13f
Assertions, warnings, renames
2019-10-03 21:30:14 +02:00
Robert Hensing
5f56a0846a
Make service.{host, composition} readOnly
2019-10-03 17:54:48 +02:00
Robert Hensing
d0815c4393
Add lib and pkgs to repl
...
Side effect: expose them in eval-composition.
2019-10-03 17:54:07 +02:00