File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 6868 run : |
6969 docker image tag "${{ steps.build.outputs.id }}" "$FQDN:$TAG"
7070 docker image push "$FQDN:$TAG"
71- echo "digest=`docker manifest inspect $FQDN:$TAG --verbose | nix run nixpkgs#jq -- -r .Descriptor.digest`" >> $GITHUB_OUTPUT
71+ echo "digest=`docker manifest inspect $FQDN:$TAG --verbose | nix run --inputs-from .# nixpkgs#jq -- -r .Descriptor.digest`" >> $GITHUB_OUTPUT
7272
7373 - name : Generate artifact attestation
7474 uses : actions/attest-build-provenance@v2
Original file line number Diff line number Diff line change 159159 packages . apollo-mcp
160160 ] ;
161161
162- config = {
162+ config = let
163+ sse-port = 5000 ;
164+ in {
163165 # Make the entrypoint the server
164- Entrypoint = [ "apollo-mcp-server" "-d" "/data" ] ;
166+ Entrypoint = [
167+ "apollo-mcp-server"
168+
169+ # Always consider /data to be the CWD for the process
170+ "-d"
171+ "/data"
172+
173+ # Use SSE transport by default, bound to all addresses
174+ "--sse-address"
175+ "0.0.0.0"
176+ "--sse-port"
177+ "${ builtins . toString sse-port } "
178+ ] ;
179+
180+ # Listen on container port for SSE requests
181+ Expose = "${ builtins . toString sse-port } /tcp" ;
165182
166183 # Drop to local user
167184 User = "1000" ;
You can’t perform that action at this time.
0 commit comments