-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
300 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
name: Assign to Author | ||
#name: Assign to Author | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
#on: | ||
#issues: | ||
#types: [opened] | ||
|
||
jobs: | ||
auto-assign: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: 'Auto-assign issue creator' | ||
uses: pozil/auto-assign-issue@v2 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} # Required token for authentication | ||
assignees: ${{ github.event.issue.user.login }} # Auto-assign the issue creator | ||
#jobs: | ||
#auto-assign: | ||
#runs-on: ubuntu-latest | ||
#permissions: | ||
#issues: write | ||
#steps: | ||
#- name: 'Auto-assign issue creator' | ||
#uses: pozil/auto-assign-issue@v2 | ||
#with: | ||
#repo-token: ${{ secrets.GITHUB_TOKEN }} # Required token for authentication | ||
#assignees: ${{ github.event.issue.user.login }} # Auto-assign the issue creator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Auto Comment on Issue | ||
on: | ||
issues: | ||
types: [opened] | ||
permissions: | ||
issues: write | ||
jobs: | ||
comment: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Add Comment to Issue | ||
run: | | ||
COMMENT=$(cat <<EOF | ||
{ | ||
"body": "Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊\n\nYou can also check our [CONTRIBUTING.md](https://github.com/sujaltangde/JobLane/blob/main/CONTRIBUTING.md) for guidelines on contributing to this project." | ||
"body": "Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊\n\nYou can also check our [CONTRIBUTING.md](https://github.com/recodehive/Scrape-ML/blob/main/CONTRIBUTING.md) for guidelines on contributing to this project." | ||
} | ||
EOF | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"liveServer.settings.port": 5502 | ||
"liveServer.settings.port": 5503 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Step 1: Use an official Nginx image from Docker Hub | ||
FROM nginx:alpine | ||
|
||
# Step 2: Copy your local files (frontend) to the Nginx html folder | ||
COPY . /usr/share/nginx/html | ||
|
||
# Step 3: Start Nginx server | ||
CMD ["nginx", "-g", "daemon off;"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Step 1: Use an official Node.js image from Docker Hub | ||
FROM node:14-alpine | ||
|
||
# Step 2: Set working directory in container | ||
WORKDIR /usr/src/app | ||
|
||
# Step 3: Copy package.json and install dependencies | ||
COPY backend/package*.json ./ | ||
RUN npm install | ||
|
||
# Step 4: Copy the backend code to the container | ||
COPY backend/ . | ||
|
||
# Step 5: Expose the backend's port (if your backend runs on port 3000, adjust as needed) | ||
EXPOSE 3000 | ||
|
||
# Step 6: Start the backend server | ||
CMD ["npm", "start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
services: | ||
frontend: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
ports: | ||
- "80:80" | ||
depends_on: | ||
- backend | ||
networks: | ||
- app-network | ||
|
||
backend: | ||
build: | ||
context: . | ||
dockerfile: backend/Dockerfile | ||
ports: | ||
- "3000:3000" | ||
networks: | ||
- app-network | ||
environment: | ||
- NODE_ENV=production | ||
- MONGODB_URI=mongodb://mongo:27017/mydatabase | ||
depends_on: | ||
- mongo | ||
|
||
mongo: | ||
image: mongo:latest | ||
ports: | ||
- "27017:27017" | ||
volumes: | ||
- mongo_data:/data/db | ||
networks: | ||
- app-network | ||
|
||
networks: | ||
app-network: | ||
driver: bridge | ||
|
||
volumes: | ||
mongo_data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.