Docker changes

Added:
Healthchecks
Changed Postgres to Alpine + pinned
Pinned Traefik Version
Made Env Vars easier to see + change/reference for those using their own env file.
This commit is contained in:
modem7
2022-03-23 22:52:30 +00:00
parent 884975dda6
commit 79ddd887d9
4 changed files with 52 additions and 7 deletions

View File

@ -49,4 +49,7 @@ EXPOSE 3000
ENV PORT 3000
HEALTHCHECK --interval=30s --timeout=20s --retries=3 --start-period=15s \
CMD curl -fSs 127.0.0.1:3000 || exit 1
CMD [ "pnpm", "run", "start:client" ]