GRPC Microservice to interact with Skyra Database
1.3K
Table of Contents
Maintained by:
Skyra Project
Where to get help:
the Skyra Lounge Discord server
Where to file issues:
https://github.com/skyra-project/skyra/issues
Source of this description:
Skyra repo assets/docker-hub directory (history)
version: '2.4'
services:
grpc:
image: skyrabot/grpc:latest
container_name: 'skyra-grpc'
depends_on:
- postgres
environment:
- POSTGRES_HOST=postgres
ports:
- '8291:80'
postgres:
container_name: postgres
image: skyrabot/postgres:latest
restart: always
ports:
- '5432:5432'
volumes:
- postgres-data:/var/lib/postgresql/data
Both the GRPC and PostgreSQL images use several environment variables that you can configure.
POSTGRES_PASSWORDThis optional environment variable is used for the $POSTGRES_USER to connect to the database. If it is not specified, then the default password of postgres will be used.
POSTGRES_USERThis optional environment variable is used in conjunction with POSTGRES_PASSWORD to set a user and its password. This variable will create the specified user with superuser power and a database with the same name. If it is not specified, then the default user of postgres will be used.
POSTGRES_DBThis optional environment variable can be used to define a different name for the default database that is created when the image is first started. If it is not specified, then the value of skyra will be used.
POSTGRES_HOSTThis optional environment variable is only for the skyrabot/grpc image and can be used to define a different host for the where the database runs relative to the GRPC serivce. If it is not specified, then the value of localhost will be used.
POSTGRES_PORTThis optional environment variable is only for the skyrabot/grpc image and can be used to define a different port for the where the database runs relative to the GRPC serivce. If it is not specified, then the value of 5432 will be used.
Skyra Project is open source and always will be, even if we don't get donations. That said, we know there are amazing people who may still want to donate just to show their appreciation. Thanks you very much in advance!
We accept donations through Patreon, BitCoin, Ethereum, and Litecoin. You can use the buttons below to donate through your method of choice.
| Donate With | QR | Address |
|---|---|---|
| Patreon | ![]() | Click Here |
| PayPal | ![]() | Click Here |
| BitCoin | ![]() | 3JNzCHMTFtxYFWBnVtDM9Tt34zFbKvdwco |
| Ethereum | ![]() | 0xcB5EDB76Bc9E389514F905D9680589004C00190c |
| Litecoin | ![]() | MNVT1keYGMfGp7vWmcYjCS8ntU8LNvjnqM |
Thanks goes to these wonderful people (emoji key):
Antonio Román ️️️️♿️ 🔊 🐛 💻 🎨 📖 🤔 🚇 🚧 📦 📆 💬 👀 🛡️ ⚠️ 🌍 | Jeroen Claassens ️️️️♿️ 🔊 🐛 💻 🎨 📖 🤔 🚇 🚧 📦 📆 💬 👀 🛡️ ⚠️ 🌍 | dependabot[bot] 🚧 | depfu[bot] 🚧 | allcontributors[bot] 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Content type
Image
Digest
Size
98.6 MB
Last updated
about 5 years ago
docker pull skyrabot/grpc