A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
add postgres to gitpod
Amruth Pillai58ce641f187c
diff --git a/.gitpod.dockerfile b/.gitpod.dockerfileindex aca6c5950..9043f06ae 100644--- a/.gitpod.dockerfile+++ b/.gitpod.dockerfile@@ -1 +1,3 @@-FROM gitpod/workspace-postgresql\ No newline at end of file+FROM gitpod/workspace-postgresql++RUN pg_start\ No newline at end of filediff --git a/.gitpod.yml b/.gitpod.ymlindex 1505fa34e..5936e530d 100644--- a/.gitpod.yml+++ b/.gitpod.yml@@ -1,27 +1,33 @@tasks:- - name: Restore .env file+ - name: Restore .env file, or create a new onecommand: |if [ -f .env ]; then- # If this workspace already has a .env, don't override it- # Local changes survive a workspace being opened and closed- # but they will not persist between separate workspaces for the same repoecho "Found .env in workspace"elseif [ -z "${DOTENV}" ]; then- # There is no $DOTENV from a previous workspace- # Default to the example .envecho "Setting example .env"- cp .env.example .env+ cp .env.gitpod .envelse- # After making changes to .env, run this line to persist it to $DOTENV- # gp env DOTENV="$(base64 .env | tr -d '\n')"- #- # Environment variables set this way are shared between all your workspaces for this repo- # The lines below will read $DOTENV and print a .env fileecho "Restoring .env from Gitpod"echo "${DOTENV}" | base64 -d > .envfifi- - init: pnpm install+ - name: Set up dependencies, and run the development server+ init: pnpm installcommand: pnpm dev++ports:+ # PostgreSQL+ - port: 5432+ visibility: private++ # Client+ - port: 3100+ visibility: public+ onOpen: ignore++ # Client+ - port: 3000+ visibility: public+ onOpen: open-browser