Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
msveshnikov committed Mar 17, 2024
1 parent cb8be17 commit 90e52d9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
BACKEND_IMAGE_NAME: my-backend
FRONTEND_IMAGE_NAME: my-frontend
BACKEND_IMAGE_NAME: allchat-backend
FRONTEND_IMAGE_NAME: allchat-frontend
SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_USER: ${{ secrets.SSH_USER }}
SSH_KEY: ${{ secrets.SSH_KEY }}
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ This will prevent copying the `node_modules` and `.git` directories into the Doc
3. Build the Docker image by running the following command in the backend directory:

```
docker build -t my-backend .
docker build -t allchat-backend .
```

Replace `my-backend` with your desired image name.
Replace `allchat-backend` with your desired image name.

**Frontend (React MUI)**

Expand Down Expand Up @@ -190,10 +190,10 @@ This will prevent copying the `node_modules`, `.git`, and `build` directories in
3. Build the Docker image by running the following command in the frontend directory:

```
docker build -t my-frontend .
docker build -t allchat-frontend .
```

Replace `my-frontend` with your desired image name.
Replace `allchat-frontend` with your desired image name.

**Running the Containers**

Expand All @@ -203,20 +203,20 @@ After building the Docker images, you can run the containers using Docker Compos
version: "3"
services:
backend:
image: my-backend
image: allchat-backend
ports:
- "3000:3000"
environment:
- GOOGLE_KEY=your_google_cloud_project_id
frontend:
image: my-frontend
image: allchat-frontend
ports:
- "80:80"
depends_on:
- backend
```
Make sure to replace `my-backend` and `my-frontend` with the names you used when building the Docker images, and replace `your_google_cloud_project_id` with your actual Google Cloud project ID.
Make sure to replace `allchat-backend` and `allchat-frontend` with the names you used when building the Docker images, and replace `your_google_cloud_project_id` with your actual Google Cloud project ID.

Now, you can start the containers by running the following command in the root directory of your project:

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.8"
services:
backend:
image: extender777/my-backend
image: extender777/allchat-backend
ports:
- "6000:5000"
environment:
Expand All @@ -11,7 +11,7 @@ services:
volumes:
- ./google.json:/app/google.json
frontend:
image: extender777/my-frontend
image: extender777/allchat-frontend
environment:
- NODE_ENV=production
ports:
Expand Down
Binary file modified public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 90e52d9

Please sign in to comment.