Run docker-compose with help from Nix/NixOS
9ba47f9fbb
200: Improve service.networks r=roberth a=pedorich-n This PR adds more options to `service.networks`, according to the [spec](https://docs.docker.com/compose/compose-file/compose-file-v3/#networks) it exposes: - `aliases` - `ipv4_address` - `ipv6_address` A more complex example using these options is added, by modifying the existing `traefik` example. I wasn't able to run the tests locally on my non-NixOS machine, but from what I can see, it just tests if the host is available. That is still true and works, I checked by running `arion up` from the `examples/traefik` folder. Co-authored-by: Nikita Pedorich <pedorich.n@gmail.com> |
||
---|---|---|
docs | ||
examples | ||
nix | ||
src | ||
tests | ||
.envrc | ||
.gitignore | ||
antora-playbook.yml | ||
arion-compose.cabal | ||
bors.toml | ||
build | ||
cabal.project | ||
CHANGELOG.md | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
HACKING.md | ||
LICENSE | ||
live-unit-tests | ||
nixos-module.nix | ||
README.asciidoc | ||
repl | ||
run-arion | ||
run-arion-quick | ||
run-arion-via-nix | ||
Setup.hs | ||
shell.nix |
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]