This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lucee 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: set the path to Tomcat binaries | |
:: set CATALINA_HOME=C:\Apps\tomcat\apache-tomcat-9.0.11 | |
:: set the path to the instance config, i.e. current directory if this file is in the CATALINA_BASE directory | |
set CATALINA_BASE=%CD% | |
:: set title to the last part of the current directory | |
for %%f in (%CD%) do set CUR_DIR=%%~nxf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: if the service is run in Session 0 then open a console for that session and run it from there | |
:: e.g. %PsExec% -s -h -d -i 0 cmd.exe | |
:: set the paths for your environment | |
set PsExec=C:\Apps\SysInternals\PsExec.exe | |
set JAVA_HOME=C:\Apps\Java\jdk1.8.0_121 | |
set DUMP_DIR=C:\temp | |
@echo off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG TOMCAT_VERSION=9.0.70 | |
ARG BASE_JAVA_IMAGE=azul/zulu-openjdk-alpine:11-jre-latest | |
ARG TOMCAT_FILENAME="apache-tomcat-${TOMCAT_VERSION}" | |
ARG CATALINA_HOME_DIR=/srv/www/catalina-home | |
ARG CATALINA_HOME=${CATALINA_HOME_DIR}/${TOMCAT_FILENAME} | |
ARG CATALINA_BASE=/srv/www/catalina-base | |
## Image size 238MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## image size 1.36GB | |
FROM alpine AS nginx-builder | |
ARG NGINX_VERSION=1.23.1 | |
ARG OPENSSL_VERSION=3.0.7 | |
ARG ZLIB_VERSION=1.2.13 | |
ARG NGINX_DIR=/usr/local/nginx | |
RUN apk --update add bash curl perl vim pcre-dev build-base linux-headers \ | |
&& mkdir -p /usr/local/src && cd /usr/local/src \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM eclipse-temurin:11-jdk-jammy | |
## allow to set a user id and group to match the host user for easy file sharing | |
ARG USER_ID=1000 | |
## Tomcat version | |
ARG TOMCAT_VERSION=9.0.70 | |
ENV SETUP_DIR "/var/local/tomcat" | |
ENV USER_ID ${USER_ID} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:22.04 | |
ENV NGINX_VERSION=1.23.3 | |
ENV NGINX_BIN=/usr/sbin/nginx | |
ENV NGINX_LOG=/var/log/nginx | |
ENV NGINX_CONF=/etc/nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USER_ID=1000 | |
TOMCAT_VERSION=9.0.70 | |
TOMCAT_FILENAME=apache-tomcat-${TOMCAT_VERSION} | |
SETUP_DIR=/var/local/tomcat | |
mkdir -p ${SETUP_DIR} && cd ${SETUP_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
algorithm = "PBKDF2withHmacSha512"; | |
passphrase = "The passphrase is passphrase"; | |
// 16 random characters | |
salt = left(replace(createUUID(), "-", "", "all"), 16); | |
// approx. 300ms at the time of testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Threads</title> | |
<style> | |
body { font-family: sans-serif; } | |
.vtop td { vertical-align: text-top; } | |
tr:nth-child(even) { background-color: #f0f0f0; } | |
tr:nth-child(odd) { background-color: #f8f8f8; } | |
td, th { padding: 0.25em 0.5em; } |
NewerOlder