Skip to content

Commit

Permalink
Tweaks to the deploy examples
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Oct 31, 2024
1 parent 02e7b0d commit f48dd90
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
7 changes: 4 additions & 3 deletions ui/deploy-examples/build-container-image.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/bin/sh

BASE_DIR="$(dirname "$(dirname "$(realpath "$0")")")"
echo "Building all using base directory: $BASE_DIR"
UI_DIR="$(dirname "$(dirname "$(realpath "$0")")")"
echo "Building all using base directory: $UI_DIR"

cd $BASE_DIR/ui
cd $UI_DIR/ui
npm install
npm run clean
npm run build
npm run package

cd $UI_DIR/ui
docker build -t apicurio/apicurio-studio-ui:latest-snapshot .
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ services:
image: nginx
container_name: apicurio-studio-getting-started-context-path_proxy
ports:
- "8888:8080" # Expose the reverse proxy on port 8000
- "8888:8080"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro # Mount custom Nginx config
depends_on:
- apicurio-registry
- apicurio-studio
6 changes: 0 additions & 6 deletions ui/deploy-examples/getting-started-context-path/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
events { }

http {
log_format with_origin '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_origin"';

access_log /dev/stdout with_origin;
error_log /dev/stderr;

server {
listen 8080;

Expand Down
3 changes: 0 additions & 3 deletions ui/deploy-examples/run-studio-ui.sh

This file was deleted.

0 comments on commit f48dd90

Please sign in to comment.