Run docker-compose with help from Nix/NixOS
a8b21575ff
enables using [docker compose secrets](https://docs.docker.com/compose/use-secrets/) from arion, which includes: - [top-level `secrets` element](https://docs.docker.com/compose/compose-file/09-secrets/) defining the secrets to be used for the below two use-cases, exposing them at `/run/secrets/<secret_name>`. comes in flavors `file` vs `environment`. - run-time: [`services` top-level `secrets` element](https://docs.docker.com/compose/compose-file/05-services/#secrets) - build time: [build secrets](https://docs.docker.com/build/building/secrets/) (to be [mounted](https://docs.docker.com/build/building/secrets/#secret-mounts) in the `Dockerfile` like `RUN --mount=type=secret,id=<secret_name> ...`) unlike #52, i did not so far add support for their [long syntax](https://docs.docker.com/compose/compose-file/05-services/#long-syntax-4), which despite the confusing documentation appears [limited to Docker Swarm](https://github.com/docker/compose/issues/9648#issuecomment-1380290233), in my understanding limiting its use in Arion. |
||
---|---|---|
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]