Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jabez007/atlas-docker-database
building a testing database that runs inside a Docker container using Atlas
https://github.com/jabez007/atlas-docker-database
atlas docker dockerfile postgres postgresql
Last synced: 30 days ago
JSON representation
building a testing database that runs inside a Docker container using Atlas
- Host: GitHub
- URL: https://github.com/jabez007/atlas-docker-database
- Owner: jabez007
- Created: 2024-08-29T14:57:26.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-08-29T20:40:02.000Z (5 months ago)
- Last Synced: 2024-10-31T04:41:55.214Z (3 months ago)
- Topics: atlas, docker, dockerfile, postgres, postgresql
- Language: Dockerfile
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# atlas-docker-database
## Build
`docker build -t atlas-docker-database ./sql/postgres`
## Run
`docker run -d --env-file .env.postgres -p 5432:5432 -t ghcr.io/jabez007/atlas-docker-database:postgres`
## Generate Migration
```bash
atlas migrate diff --dir "file://sql/postgres/swapi/migrations" --to "file://sql/postgres/swapi/schema" --dev-url "docker+postgres://ghcr.io/jabez007/atlas-docker-database:postgres/swapi?search_path=public"
```