feat: setup postgres with docker compose (#85)

* feat: add postgres to docker compose

* feat: run migrations via entrypoint

* chore: tidy .env.example

* fix: allow empty strings for optional envs

* fix: remove external from kan-network

* chore: update readme
This commit is contained in:
Henry
2025-06-14 22:52:27 +01:00
committed by GitHub
parent 3a48c797b7
commit 1c75a948f9
7 changed files with 160 additions and 54 deletions

View File

@@ -75,6 +75,5 @@ ARG PORT=3000
ENV PORT=${PORT}
EXPOSE ${PORT}
# Run migration on start for now (until we have a better way to handle this)
CMD ["sh", "-c", "cd /app && pnpm db:migrate && cd /app/apps/web && pnpm start"]
CMD ["./entrypoint.sh"]