Skip to content

Commit

Permalink
update compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
thepsalmist committed Mar 27, 2024
1 parent a5c799d commit 0fddb92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
IMAGE_TAG: "staging"
IMAGE_NAME: "mcsystems/news-search-api"
IMAGE_NAME: "codeforafrica/news-search-api"
INDEXES: "mc_search"
ESHOSTS: "http://localhost:9200"
TERMFIELDS: "article_title,text_content"
Expand All @@ -29,8 +29,8 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
api:
image: mcsystems/news-search-api:{IMAGE_TAG}
image: codeforafrica/news-search-api:{IMAGE_TAG}
build: .
ports:
- 8000:8000
Expand All @@ -10,7 +10,7 @@ services:
- .:/app

ui:
image: mcsystems/news-search-api:{IMAGE_TAG}
image: codeforafrica/news-search-api:{IMAGE_TAG}
build: .
environment:
APIURL: http://api:8000/v1
Expand Down

0 comments on commit 0fddb92

Please sign in to comment.