Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ jobs:
docker rm "$CONTAINER_NAME" 2>/dev/null || true

API_PORT=$(grep ^API_PORT= .env | cut -d '=' -f2)
docker run -d -p ${API_PORT}:${API_PORT} --env-file .env -v ./data:/app/data --restart on-failure:16 --name "$CONTAINER_NAME" "$IMAGE_REF"
docker run -d -p 127.0.0.1:${API_PORT}:${API_PORT} --env-file .env -v ./data:/app/data --restart on-failure:16 --name "$CONTAINER_NAME" "$IMAGE_REF"

docker logout ghcr.io
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
build:
context: .
ports:
- ${API_PORT}:${API_PORT}
- 127.0.0.1:${API_PORT}:${API_PORT}
env_file:
- .env
volumes:
Expand Down
Loading