Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakar-io committed Mar 29, 2024
1 parent 990e9b2 commit 95eb727
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/redis_to_postgres/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ Navigate to the `tools/redis_to_postgres` directory and ensure that the environm
docker compose up --build --abort-on-container-exit
```

This will run database schema migrations for Postgres and then copy data from Redis to Postgres. Eventually all containers will be stopped.
This will run database schema migrations for Postgres and then copy data from Redis to Postgres. Eventually all containers will be stopped.

Note: if you were not using Redis locally and instead were using a remote Redis instance (for example on AWS), you can simply set the `REDIS_URL` environment variable to the remote instance's address, remove the `redis` service from the docker-compose file, and run the same command as above.

0 comments on commit 95eb727

Please sign in to comment.