Run docker-compose with help from Nix/NixOS
Find a file
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
docs docs/options: Add page title 2023-01-13 18:18:54 +01:00
examples Improve service.networks 2023-07-20 00:12:09 +09:00
nix Use flake-parts 2022-12-02 10:25:01 +00:00
src fix: services.<name>.service.build.context 2023-08-20 15:20:34 +02:00
tests fix: services.<name>.service.build.context 2023-08-20 15:20:34 +02:00
.envrc .envrc: Preserve XDG_DATA_DIRS for bash completions 2021-06-03 08:14:47 +02:00
.gitignore chore: Add *.swp to .gitignore 2023-08-19 22:11:17 +02:00
antora-playbook.yml Update antora-playbook.yml 2019-10-25 00:13:41 +02:00
arion-compose.cabal Bump to v0.2.1.0 2023-07-26 14:50:13 +02:00
bors.toml Update bors.toml 2023-04-22 18:41:17 +02:00
build Add scripts for hacking 2019-06-23 21:33:23 +02:00
cabal.project Add scripts for hacking 2019-06-23 21:33:23 +02:00
CHANGELOG.md Bump to v0.2.1.0 2023-07-26 14:50:13 +02:00
default.nix Use flake-parts 2022-12-02 10:25:01 +00:00
flake.lock Pin haskell-flake at 0.1.0 2023-02-16 23:28:30 +01:00
flake.nix Pin haskell-flake at 0.1.0 2023-02-16 23:28:30 +01:00
HACKING.md Add run-arion-quick + HACKING.md 2019-10-03 17:56:06 +02:00
LICENSE LICENSE: fill in 2019-09-09 19:12:54 +02:00
live-unit-tests Fix live-* script cabal file references 2019-09-28 14:53:46 +02:00
nixos-module.nix nixos-module: compatibilty with 22.11 and >=23 2023-02-25 22:43:36 +01:00
README.asciidoc Update README.asciidoc 2019-10-25 13:29:11 +02:00
repl Add scripts for hacking 2019-06-23 21:33:23 +02:00
run-arion Add scripts for hacking 2019-06-23 21:33:23 +02:00
run-arion-quick Add run-arion-quick + HACKING.md 2019-10-03 17:56:06 +02:00
run-arion-via-nix Remove nix run -c 2023-07-26 14:09:49 +02:00
Setup.hs Add Haskell package 2019-06-14 16:10:37 +02:00
shell.nix Use flake-parts 2022-12-02 10:25:01 +00:00

Arion is a tool for building and running applications that
consist of multiple docker containers using NixOS modules.
It has special support for docker images that are built with Nix,
for a smooth development experience and improved performance.


# https://docs.hercules-ci.com/arion/[Intro and Documentation]