This should start Postgres in Docker Nicely, no configuration required in config.js.
docker run --name nitro-postgres -p 5432:5432 -e POSTGRES_USER=nitro -e POSTGRES_PASSWORD=secret -d postgres
npm run migrate to run migrations.npm start. There will be an error if it can't connect to the database.npm run migrate:test to run tests. Recommended to make sure everything is working.npm run test will fail if run more than once without redoing migrations.Content type
Image
Digest
Size
357.7 MB
Last updated
about 7 years ago
docker pull dymajo/nitro-server