Switch reverse proxy to prebuilt OpenResty image
This commit is contained in:
@@ -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" "
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user