Skip to content

Commit bca5fbb

Browse files
updating container name to match what the deploy webhook expects (#11)
* updating container name to match what the deploy webhook expects * Pre-commit auto-fix * bind to an ipv4 address, by default it uses ipv6 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent cf0203e commit bca5fbb

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/development.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
packages: write
1010

1111
env:
12-
CONTAINER_NAME: nvdaremote-staging
12+
CONTAINER_NAME: remote-server-staging
1313
WEBHOOK_URL: https://webhook-internal.nvaccess.org/hooks/deploy
1414

1515
jobs:
@@ -49,4 +49,3 @@ jobs:
4949
curl -X POST ${{ env.WEBHOOK_URL }} \
5050
-H "Content-Type: application/json" \
5151
-d '{"container": "${{ env.CONTAINER_NAME }}", "secret": "${{ secrets.DOCKER_WEBHOOK_SECRET }}"}'
52-

.github/workflows/production.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
packages: write
1010

1111
env:
12-
CONTAINER_NAME: nvdaremote-production
12+
CONTAINER_NAME: remote-server-production
1313
WEBHOOK_URL: https://webhook-internal.nvaccess.org/hooks/deploy
1414

1515
jobs:
@@ -49,4 +49,3 @@ jobs:
4949
curl -X POST ${{ env.WEBHOOK_URL }} \
5050
-H "Content-Type: application/json" \
5151
-d '{"container": "${{ env.CONTAINER_NAME }}", "secret": "${{ secrets.DOCKER_WEBHOOK_SECRET }}"}'
52-

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ RUN addgroup -S remotegroup && adduser -S remoteuser -G remotegroup
4747
USER remoteuser
4848
EXPOSE 6837
4949
# Run the server
50-
CMD ["uv", "run", "server.py"]
50+
CMD ["uv", "run", "server.py", "--network-interface", "0.0.0.0"]

0 commit comments

Comments
 (0)