Skip to content

Latest commit

 

History

History
95 lines (69 loc) · 4.41 KB

README.md

File metadata and controls

95 lines (69 loc) · 4.41 KB

pa-radserver-docker

Embarcadero RAD Server Docker script to build RAD Studio Linux deployment image including RAD Server engine

Note: This image needs a different container running InterBase to function.

The image defaults to running PAServer on port 64211 with the password securepass

The 10.x images use Ubuntu 18.04.6 LTS (Bionic Beaver) while the 11.x images use Ubuntu 22.04.1 LTS (Jammy Jellyfish)

Instructions

If you want to modify or build from GitHub without using Docker Hub, you can build the Dockerfile with the build.sh script. Note: The Dockerfile requires the paserver_docker.sh script in the same directory

Usage: ./build.sh [db host] [port]

./build.sh yourhost.com 3050

To pull the Docker Hub version of pa-radserver image use the pull.sh script

./pull.sh

or

docker pull radstudio/pa-radserver:latest

Where latest is the desired tag.

To pull and run the Docker Hub version of pa-radserver image for a debug/non-production environment use the pull-run.sh script

Usage: ./pull-run.sh [db host] [port]

./pull-run.sh yourhost.com 3050

To pull and run the Docker Hub version of pa-radserver image for a production/non-debug environment use the pull-run-production.sh script

Usage: ./pull-run-production.sh [db host] [port]

./pull-run-production.sh yourhost.com 3050

To run the Docker Hub version of pa-radserver Docker for a non-production environment use the run.sh script

Usage: ./run.sh [db host] [port]

./run.sh yourhost.com 3050

To run the Docker Hub version of pa-radserver image for a production/non-debug environment use the run-production.sh script

Usage: ./run-production.sh [db host] [port]

./run-production.sh yourhost.com 3050

To configure the emsserver.ini file of an already running instance of pa-radserver run the config.sh script

./config.sh

The config.sh script will restart apache automatically.

The Solutions directory contains possible usage scenarios for using the pa-radserver Docker image. The Custom-RAD_Server-Module solution is for the scenario in which the user has a custom module they want to deploy to RAD Server. The custom endpoint resource module needs to be in the same directory as the Dockerfile when the build-run.sh script is called.

Usage: ./build-run.sh [db host] [port] [module file name]

./pull.sh
./build-run.sh yourhost.com 3050 samplemodule.so

The Example-Child-Image solution is for the scenario in which the user wants to add other items to the docker image. The user can add apt packages other custom items through the Dockerfile.

Usage: ./build-run.sh [db host] [port] [module file name]

./pull.sh
./build-run.sh yourhost.com 3050 samplemodule.so

This software is Copyright © 2024 by Embarcadero Technologies, Inc.

You may only use this software if you are an authorized licensee of an Embarcadero developer tools product. See the latest software license agreement for any updates.

Embarcadero(Black-100px) Embarcadero(White-100px)