https://github.com/thomasms/docker-postgres
https://github.com/thomasms/docker-postgres
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasms/docker-postgres
- Owner: thomasms
- Created: 2022-03-03T20:58:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-03T21:02:08.000Z (over 4 years ago)
- Last Synced: 2025-03-29T03:28:48.913Z (about 1 year ago)
- Language: Shell
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Postgres in Docker
```bash
# setup and run
docker-compose build
docker-compose up -d
```
```bash
# check logs
docker logs docker_db_1
```
```bash
# connect with psql
psql --host=localhost --username=postgres --port=5551
```