cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
34 stars 13 forks source link

fix: add back devcontainer db and redis services #3837

Closed patheard closed 4 months ago

patheard commented 4 months ago

Summary

Add the db and redis services back to the devcontainer's docker-compose file to support localhost environments without a LocalStack license.

Test instructions | Instructions pour tester la modification

  1. Remove all running docker containers.
  2. Build the devcontainer.
  3. Setup your local .env to connect to the db and redis services.
    DATABASE_URL=postgres://postgres:chummy@db:5432/forms
    REDIS_URL=redis
  4. Run yarn dev and expect the app to load at http://localhost:3000.

Unresolved questions / Out of scope | Questions non résolues ou hors sujet

None.

Pull Request Checklist

Please complete the following items in the checklist before you request a review:

github-actions[bot] commented 4 months ago

:test_tube: Review environment

https://i2uu4z732sfjus6du6t6kco5oa0wnufp.lambda-url.ca-central-1.on.aws/