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
+3
View File
@@ -47,4 +47,7 @@ EXPOSE 3100
ENV PORT 3100
HEALTHCHECK --interval=30s --timeout=20s --retries=3 --start-period=15s \
CMD curl -fSs localhost:3100/health || exit 1
CMD [ "pnpm", "run", "start:server" ]