https://github.com/macagua/example_docker_sybase_ase_python
Examples for deploy a Sybase ASE server with database using Docker and query his data with Python
https://github.com/macagua/example_docker_sybase_ase_python
database deploy docker docker-compose python python3 sql sql-query sybase-ase
Last synced: 3 months ago
JSON representation
Examples for deploy a Sybase ASE server with database using Docker and query his data with Python
- Host: GitHub
- URL: https://github.com/macagua/example_docker_sybase_ase_python
- Owner: macagua
- License: gpl-3.0
- Created: 2023-03-25T18:27:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-14T22:21:02.000Z (over 2 years ago)
- Last Synced: 2025-01-09T10:49:27.809Z (9 months ago)
- Topics: database, deploy, docker, docker-compose, python, python3, sql, sql-query, sybase-ase
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
================================
example_docker_sybase_ase_python
================================Examples for deploy Sybase ASE database with Docker and query
his data with Python.Install
=======Pre requirements for deploy with Docker, executing the following command:
::
$ sudo apt update && sudo apt upgrade
$ sudo apt install build-essential libpq-dev python3-dev
$ pip install -U pipDefine some values for the deploy into the ``.env`` file, executing the
following command:::
$ cd example_docker_sybase_ase_python/
$ cp .env.example .env
$ nano .envFor deploy this software stack, you require the following software:
- `Docker Engine `_.
- `Docker Engine on Debian `_.
- `Docker Engine on Ubuntu `_.
- `Docker Compose `_.
Use it
======For run this stack docker containers, executing the following command:
::
$ sudo docker compose up &
For stop this stack docker containers, executing the following command:
::
$ sudo docker compose stop