diff --git a/.env.example b/.env.example index 993fa07..809d1d9 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,19 @@ -DATABASE_URL="postgresql://postgres:postgres@localhost:5432/8T-Auth" -JWT_SECRET="ruby-sapphire" \ No newline at end of file +PORT=3000 +RESET=1 +JWT_SECRET= + +DIRECT_URL= +DATABASE_URL= +# DATABASE_URL="postgresql://postgres:postgres@localhost:5432/8T-Auth" +GOOGLE_CLIENT_ID= +GOOGLE_CLIENT_SECRET= +FIREBASE_STORAGE_BUCKET= +FIREBASE_API_KEY= +BACK_END_URL=https://api-8-tech.koyeb.app/ + +XENDIT_SECRET_KEY=xnd_development_ +XENDIT_URL=https://api.xendit.co +XENDIT_AUTH= + +HOSTNAME=0.0.0.0 +npm_package_version=4.0.1 diff --git a/Dockerfile b/Dockerfile index 09b2bd0..99b024e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,8 @@ COPY . /usr/src/app RUN npm ci +RUN npm run migrate + RUN npm run build EXPOSE 3000