generated from srid/emanote-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2c7689
commit 19ed98b
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
short-title: 4. Using services-flake | ||
--- | ||
|
||
# Integrating external services using services-flake | ||
|
||
>[!warning] TODO: Write this! | ||
> For now, see the code: https://github.com/juspay/todo-app/pull/22 | ||
Things to highlight: | ||
|
||
- `services-flake` provides pre-defined configurations for many services, reducing a bunch of lines to just `services.<service>.<instance>.enable = true;` | ||
- Data directory for all services in `services-flake` is local to the project working directory, by default | ||
- Best practices: | ||
- Use Unix sockets for local development and CI to avoid binding to ports (which is global to the interface) | ||
- Write integration tests using the reserved `test` process in `process-compose-flake`. |