Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dereknguyen269/slackapp-postgresql-server
Docker PostgresSQL server & Auto Deploy with Capistrano :rocket:
https://github.com/dereknguyen269/slackapp-postgresql-server
autodeploy docker docker-image postgresql
Last synced: 18 days ago
JSON representation
Docker PostgresSQL server & Auto Deploy with Capistrano :rocket:
- Host: GitHub
- URL: https://github.com/dereknguyen269/slackapp-postgresql-server
- Owner: dereknguyen269
- Created: 2017-07-24T07:15:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-12T05:13:18.000Z (about 7 years ago)
- Last Synced: 2024-10-03T05:21:06.482Z (about 1 month ago)
- Topics: autodeploy, docker, docker-image, postgresql
- Language: Ruby
- Homepage: https://slackapp.xyz
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slackapp postgresql server
- [SlackApp](https://www.slackapp.xyz)
---
## Simple
Youn setup `PostgresSQL server with Docker` step by step with resource: [Dockerize PostgreSQL](https://docs.docker.com/engine/examples/postgresql_service/).
After setup successfully.
**Conection**
First, run `docker ps`
```
$ docker psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5e24362f27f6 eg_postgresql:latest /usr/lib/postgresql/ About an hour ago Up About an hour 0.0.0.0:49153->5432/tcp pg_test
```We see PORT : **49157**
Conection setup:
- IP adress: your server IP
- Port: 49157
- user: docker
- pass: dockerNote: Wee need port **49157** to `security group` if you using **AWS EC2**
**Tab Inbound** :
Type | Protocol | Port range | Source
-----|----------|------------|-------
Custom TCP Rule | TCP | 49157 | ::/0
Custom TCP Rule | TCP | 49157 | 0.0.0.0/0**Stop docker image:**
```
docker stop image-name
```## Custom
Read at Wiki [Custom config with Dockerfile](https://github.com/minhquan4080/slackapp-postgresql-server/wiki/Custom-config-with-Dockerfile)
Look Good! Now, you can use it to hosting dabase for your application :smile:.