Skip to content

Latest commit

 

History

History
92 lines (55 loc) · 2.28 KB

File metadata and controls

92 lines (55 loc) · 2.28 KB

docker-delphi-sample-odbc

Conteiner Docker image running Embarcadero RAD Studio PAServer (Platform Assistant Server Application) and unixODBC connection with SQL Server.

docker image

https://hub.docker.com/r/rogeriosilvarocha/delphi-sample-odbc/

Getting Started

Conteiner embledded with:

item version
SO Ubuntu 18.04
unixODBC 2.3.4
SQL Server Driver 17.0
PAServer 19.0

Prerequisites

  • Docker. With windows i recommend toolbox version

running conteiner

start conteiner

$ docker run  --name delphi -p 64211:64211 -p 8080:8080 -t -i -e ODBC_SERVER=tcp:172.18.10.157,2001 -e ODBC_NAME=HOMO -e PASERVER_PASSWORD=1234 rogeriosilvarocha/delphi-sample-odbc

Enviroment variables:

variable description
ODBC_SERVER ODBC server connection
ODBC_NAME ODBC DNS NAME
PASERVER_PASSWORD PAServer RAD Studio Password

Test connection

$ isql -v HOMO rpsr 'psw'

execute command in SQL Server

select 1

Running the tests

Explain how to run the automated tests for this system

Deployment

Build docker image:

docker build -t rogeriosilvarocha/delphi-sample-odbc .

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc