Switch reverse proxy to prebuilt OpenResty image

This commit is contained in:
2025-06-09 10:55:12 +02:00
parent fa2ce9abd2
commit 8963e06eba
3 changed files with 9 additions and 2 deletions

View File

@@ -67,7 +67,6 @@
scp -P "$PORT" docker-compose.yml "$DEPLOY_USER@$HOST:$REMOTE_ENV_PATH/docker-compose.yml"
scp -P "$PORT" nginx.conf "$DEPLOY_USER@$HOST:$REMOTE_ENV_PATH/nginx.conf"
scp -P "$PORT" auth.lua "$DEPLOY_USER@$HOST:$REMOTE_ENV_PATH/auth.lua"
scp -P "$PORT" Dockerfile-openresty "$DEPLOY_USER@$HOST:$REMOTE_ENV_PATH/auth.lua"
echo "Deploying DEMO on $HOST"
ssh -p "$PORT" "$DEPLOY_USER@$HOST" "

View File

@@ -28,6 +28,14 @@ cache:
when: manual
allow_failure: true
docker_openresty:
stage: dockerize
extends: .docker-build-template
variables:
IMAGE_NAME: openresty
WORKDIR_PATH: ./
DOCKERFILE_PATH: Dockerfile-openresty
sync_dev_branch:
stage: sync
image: node:22@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95

View File

@@ -1,6 +1,6 @@
services:
reverse-proxy:
build: Dockerfile-openresty
image: registry.boomlab.party/rheinsw/demo-websites/openresty
container_name: demo-nginx-proxy
ports:
- "25700:80"