You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate from docker-compose to Nix (via
https://github.com/juspay/services-flake )
TODO:
- [x] Add osrm-server to services
(f8b27f1)
(97e0824)
- [x]
`db-primary`(02eb257)
(f9fa2af)
- [x] juspay/services-flake#64
- [x] nixpkgs: `postgis` extension doesn't work on macOS (**merging with
main solved it — main has a more latest nixpkgs**)
- [x] `location-db`
(02eb257)
(01e238c)
- [x] Figure out the configuration for syncing `db-replica` and
`location-db-replica` with their respective masters **->** Run
[pg_basebackup](https://www.postgresql.org/docs/current/app-pgbasebackup.html)
in a separate process.
(02eb257)
(ad639bd)
- [x] juspay/services-flake#70
- [ ] Once successful, write a short note on
juspay/services-flake#65
- [x] `redis`
(02eb257)
- [x] `initalDumps` in passetto service
(nammayatri/passetto#5)
- [x] `initialDumps` in
[services-flake](juspay/services-flake#64).
- [x] `passetto`
(02eb257)
- [x] `zookeeper`
(5b5e008)
- [x] `kafka`
(5b5e008)
- [x] `nginx`
(5b5e008)
- [x] `redis-cluster`
(5b5e008)
- [ ] Update FAQ section linking to a `services-flake` doc explaining
about data directory and how to get a fresh start for a service.
- [x] Add `namespace` to `pgBaseBackup*` processes.
The following issues will be part of a different PR
- Add grafana to services-flake
juspay/services-flake#59
- Add prometheus to services-flake
juspay/services-flake#60
- Add pgadmin to services-flake
juspay/services-flake#80
## Run services natively with `services-flake` (MacOS and Linux)
```
nix run github:shivaraj-bh/nammayatri/services-flake#services --refresh
```
**Note: passetto-server uses rosetta emulation on MacOS due to
juspay/passetto#2
---------
Co-authored-by: Rohit Singh <rsrohitsingh68@gmail.com>
Co-authored-by: Shivaraj <shivaraj@shivaraj-macbookpro.beagle-neon.ts.net>
Co-authored-by: Sridhar Ratnakumar <3998+srid@users.noreply.github.com>
Probably like this:
The text was updated successfully, but these errors were encountered: