deployment instructions

This commit is contained in:
leca 2025-01-29 21:33:54 +03:00
parent ec7b733ff6
commit 4bdc2e2497
3 changed files with 9 additions and 3 deletions

View File

@ -2,7 +2,7 @@ FROM node:22-bullseye
WORKDIR /opt/app WORKDIR /opt/app
COPY package.json package-lock.json .env src eslint.config.mjs tsconfig.json db_schema.sql . COPY package.json package-lock.json .env src eslint.config.mjs tsconfig.json db_schema.sql service-account-file.json .
COPY src ./src COPY src ./src
RUN npm i RUN npm i

View File

@ -1,2 +1,8 @@
# IP-Molchan-job_interview # Deployment
1. Copy ``sample.env`` to ``.env``.
2. Adjust it to your needs and enter spreadsheets IDs.
4. Create file ``service-account-file.json`` that will contain data about Google API connection
3. Run it with ``docker-compose up --build -d``

View File

@ -1,4 +1,4 @@
DB_HOST=localhost DB_HOST=database
DB_PORT=5432 DB_PORT=5432
DB_USER=api_user DB_USER=api_user
DB_NAME=api_db DB_NAME=api_db