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

Docker Folder #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Build and publish a Docker image for ${{ github.repository }}
uses: macbre/push-to-ghcr@master
with:
#dockerfile: Docker/Dockerfile
Copy link
Contributor

@RoguedBear RoguedBear Nov 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this part may actually have to be uncommented, otherwise the action may look for Dockerfile in the repository root location and not the Docker/ folder.

you can check these changes work or result in error by manually triggering the action.

you can do that by visiting the actions tab in your fork and you will see a button "Run workflow" from which you can manually trigger the docker build action (below image is from my fork's action tab)

image

image_name: ${REPO_LC}-backend
image_tag: ${{ env.TAG }}
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -46,7 +47,7 @@ jobs:
- name: Build and publish a Docker image for ${{ github.repository }}
uses: macbre/push-to-ghcr@master
with:
dockerfile: Dockerfile.celery
dockerfile: Docker/Dockerfile.celery
image_name: ${REPO_LC}-celery-backend
image_tag: ${{ env.TAG }}
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
volumes:
- ./postgres_data:/var/lib/postgresql/data
env_file:
- ./.env
- Docker/.env

# Redis - result backend
redis:
Expand All @@ -27,7 +27,7 @@ services:
volumes:
- ./urNode-backend:/app
env_file:
- ./.env
- Docker/.env
links:
- celery
- rabbit
Expand All @@ -40,7 +40,7 @@ services:
volumes:
- "./urNode-backend:/app"
env_file:
- ./.env
- Docker/.env
depends_on:
- redis
- postgres
Expand Down