Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: push images to docker hub (monorepo) #158

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ email: [email protected]
password: useruser
```

### Table of Contents

- [Online App Demo](#online-app-demo)
- [Using with Google Sites](#using-with-google-sites)
- [A. Embed a File Card](#a-embed-a-file-card)
- [Embed a Full Page Containing a Group of File Cards](#b-embed-a-full-page-containing-a-group-of-file-cards)
- [Requirements](#requirements)
- [Installation](#installation)
- [Run with Docker](#run-with-docker)
- [Build Images Locally](#build-images-locally)
- [Using the Pre-Built Docker Images](#using-the-pre-built-docker-images)
- [Deploy With GitHub Actions](#deploy-with-github-actions)


### Using with Google Sites

### A. Embed a File Card
Expand Down Expand Up @@ -120,21 +134,20 @@ https://sites.google.com/view/gsites-embed-app/full-page
docker compose -f docker-compose.prod.yml down
```

### Using the Pre-Built Docker Image
### Using the Pre-Built Docker Images

This project deploys the latest development Docker imaged to Docker Hub on the creation of new Release/Tags. It is available at:<br>
This project deploys the latest **client** and **server** development Docker images to Docker Hub on the creation of new Release/Tags. They are available at:<br>

- **client:** https://hub.docker.com/r/weaponsforge/gsites-client
- **server:** https://hub.docker.com/r/weaponsforge/gsites-server
https://hub.docker.com/r/weaponsforge/gsites-components

1. Pull the pre-built development Docker image using any of the two (2) options:
1. Pull the pre-built development Docker images using any of the two (2) options:
- Open a terminal and run:<br>
```
docker pull weaponsforge/gsites-client:latest
docker pull weaponsforge/gsites-server:latest
docker pull weaponsforge/gsites-components:client
docker pull weaponsforge/gsites-components:server
```

- Navigate to the gsites-components root project directory, then run:<br>
- Navigate to the gsites-components root project directory, then run:
`docker compose -f docker-compose.dev.yml pull`

2. Follow the instructions in the README files inside the **/client** and **/server** directories for more information on configuring and using the client and server apps.
Expand Down Expand Up @@ -219,4 +232,5 @@ git push --set-upstream origin gh-pages


@weaponsforge<br>
20230326
20230326<br>
20241004
4 changes: 2 additions & 2 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services:
# NextJS v13 app running on development mode
gsites-client-dev:
container_name: gsites-client-dev
image: weaponsforge/gsites-client:latest
image: weaponsforge/gsites-components:client
env_file:
- ./client/.env
build:
Expand All @@ -21,7 +21,7 @@ services:
# Node CLI for running scripts
gsites-server-dev:
container_name: gsites-server-dev
image: weaponsforge/gsites-server:latest
image: weaponsforge/gsites-components:server
env_file:
- ./server/.env
build:
Expand Down
Loading