Git Product home page Git Product logo

paserver-docker's Introduction

paserver-docker

Embarcadero RAD Studio Docker script for RAD Studio Linux deployment via PAServer

The image defaults to running PAServer on port 64211 with the password securepass, and Broadwayd on port 8082

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

./build.sh

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

./pull-run.sh

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

./pull-run-production.sh securepass123

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

./run.sh

To run the Docker Hub version of paserver docker for a non-debug/production environment use the run-production.sh script

./run-production.sh securepass123

This software is Copyright © 2023 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)

paserver-docker's People

Contributors

checkdigits avatar fmxexpress avatar jimmckeeth avatar lmbelo avatar lynxnake avatar marcocantu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

paserver-docker's Issues

Exception EIdOSSLCouldNotLoadSSLLibrary 'Could not load SSL library.'

Running a Linux64 Datasnap server compiled with Delphi 12 within this docker causes the before mentioned exception. Indy 10 as included in Delphi 12 seems to need package libcurl-openssl1.0-dev (or any other package that brings lib-opnessl1.0-dev) which I found no obvious way of how to install it within ubuntu:jammy.

Furthermore zlib1g-dev needs to be added to the imported packages.

Error compiling

When I compile a simple console application I get the following error "Unable to create process: ''A' packet returned an error: 8'."
I've tried with docker installed in versions 18 and 22.

How to enable the parameter -unrestricted?

Hi.

On Linux, mostly applications uses their configuration file inside the /etc repository, however, the paserver-docker container doesn't allow to access other path levels since its -unrestricted parameter is not enabled.

Is there any chance to enable this parameter?

Edit: The PAServer always remove all files inside the destination binary directory, this way, there is no any chance even symbolic links, since they will be removed each build at all.

Thank you!

When will it support RAD Studio 10.4?

I tried to pull the Docker image (radstudio/paserver) from Docker Hub. When I tried to use it the version of pa-server didn't seem to be compatible with RAD Studio 10.4.

Is this a known problem or a new one? Is there going to be an updated version on Docker Hub?

NB. When I cloned this project from GitHub I could see folders for 10.3.2 and 10.3.3 but none for 10.4.

PAServer using 100% of CPU in docker-compose

Hi.

Steps to reproduce the problem:

  1. Create a file called docker-compose.yml with the following content:
version: "3.6"
services:
  paserver:
    image: radstudio/paserver:10.3.2
    container_name: paserver
    ports:
      - 64211:64211/tcp    
      - 8082:8082/tcp
    restart: on-failure
  1. Run the following command:
$ docker-compose up
  1. Attach a shell to the container:
docker exec -it <ID> bash

<ID> = The container ID, e.g.: docker exec -it bbb5cb400d07 bash

  1. Inside the container, use the top command to watch the processes:
$ top

Now, notice the PAServer using 96.7 ~ 100% of CPU, e.g.:

top - 20:07:10 up 36 min,  0 users,  load average: 7.04, 5.76, 4.88
Tasks:   6 total,   2 running,   4 sleeping,   0 stopped,   0 zombie
%Cpu(s): 42.4 us, 23.7 sy,  0.0 ni, 31.3 id,  0.0 wa,  2.1 hi,  0.4 si,  0.0 st
KiB Mem :  5903916 total,  1600796 free,  2468084 used,  1835036 buff/cache
KiB Swap:  6037500 total,  5815292 free,   222208 used.  2868752 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                            
      8 root      20   0  364060  17092  15428 R  96.7  0.3   4:59.68 paserver                                                                                           
      1 root      20   0    4624    804    740 S   0.0  0.0   0:00.21 sh                                                                                                 
      6 root      20   0   18372   3044   2796 S   0.0  0.1   0:00.00 paserver_docker                                                                                    
      7 root      20   0  153452   5796   5208 S   0.0  0.1   0:00.00 broadwayd                                                                                          
     24 root      20   0   18504   3440   3000 S   0.0  0.1   0:00.77 bash                                                                                               
     34 root      20   0   36612   3036   2600 R   0.0  0.1   0:00.01 top

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.