Run docker-compose with help from Nix/NixOS
Find a file
Kiara Grouwstra a8b21575ff add support for docker compose secrets
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.
2024-08-02 22:54:03 +00:00
docs rename boot.tmpOnTmpfs -> boot.tmp.useTmpfs 2024-06-12 22:14:14 +00:00
examples rename boot.tmpOnTmpfs -> boot.tmp.useTmpfs 2024-06-12 22:14:14 +00:00
nix Use flake-parts 2022-12-02 10:25:01 +00:00
src add support for docker compose secrets 2024-08-02 22:54:03 +00:00
tests tests: Add VM memory 2024-02-05 17:31:21 +01: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 add support for docker compose secrets 2024-08-02 22:54:03 +00: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 flake.lock: Update 2024-07-05 02:38:52 +00:00
flake.nix chore(flake): remove defaultPackage output 2024-04-28 20:35:20 -04: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 Add configurable systemd service name to nixos module 2023-12-17 12:36:47 -07: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]