{ "uuid": [ { "value": "711d2246-a181-4fe5-900d-c6e4fee3c29d" } ], "langcode": [ { "value": "en" } ], "type": [ { "target_id": "daily_email", "target_type": "node_type", "target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7" } ], "revision_timestamp": [ { "value": "2025-05-11T09:00:05+00:00" } ], "revision_uid": [ { "target_type": "user", "target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849" } ], "revision_log": [], "status": [ { "value": true } ], "uid": [ { "target_type": "user", "target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849" } ], "title": [ { "value": "Could Nix and devenv replace Docker Compose?" } ], "created": [ { "value": "2024-11-11T00:00:00+00:00" } ], "changed": [ { "value": "2025-05-11T09:00:05+00:00" } ], "promote": [ { "value": false } ], "sticky": [ { "value": false } ], "default_langcode": [ { "value": true } ], "revision_translation_affected": [ { "value": true } ], "path": [ { "alias": "\/daily\/2024\/11\/11\/could-nix-and-devenv-replace-docker-compose", "langcode": "en" } ], "body": [ { "value": "\n
I started using the Nix package manager in September 2022<\/a> as a replacement for Ansible to manage my dotfiles.<\/p>\n\n Since then, I've switched to daily-driving NixOS as my main operating system and started to use Nix instead of Docker for some development projects.<\/p>\n\n Even though I'm running Linux, there's a benefit to not running containers for simple projects as well as the reproducibility that Nix provides.<\/p>\n\n I hadn't invested much time in using Nix as Docker replacement for Drupal projects, but this week, I've started to look at devenv<\/a> - a development tool based on Nix.<\/p>\n\n As well as declaring and locking the package versions I need for each project, it also manages the services I need, such as PHP-FPM and MariaDB or MySQL.<\/p>\n\n It also configures Git hooks, test scripts and custom processes, such as running Tailwind CSS.<\/p>\n\n I've configured it for a few projects this week and it could be a potential Docker replacement for me.<\/p>\n\n If you want to see an example, see this repo on GitHub<\/a>.<\/p>\n\n ",
"format": "full_html",
"processed": "\n I started using the Nix package manager in September 2022<\/a> as a replacement for Ansible to manage my dotfiles.<\/p>\n\n Since then, I've switched to daily-driving NixOS as my main operating system and started to use Nix instead of Docker for some development projects.<\/p>\n\n Even though I'm running Linux, there's a benefit to not running containers for simple projects as well as the reproducibility that Nix provides.<\/p>\n\n I hadn't invested much time in using Nix as Docker replacement for Drupal projects, but this week, I've started to look at devenv<\/a> - a development tool based on Nix.<\/p>\n\n As well as declaring and locking the package versions I need for each project, it also manages the services I need, such as PHP-FPM and MariaDB or MySQL.<\/p>\n\n It also configures Git hooks, test scripts and custom processes, such as running Tailwind CSS.<\/p>\n\n I've configured it for a few projects this week and it could be a potential Docker replacement for me.<\/p>\n\n If you want to see an example, see this repo on GitHub<\/a>.<\/p>\n\n ",
"summary": null
}
]
}