udemy-go-web-1/database-template.yml

15 lines
314 B
YAML
Raw Normal View History

development:
dialect: postgres
database: bookings
user:
password:
host: 127.0.0.1
pool: 5
test:
url: {{envOr "TEST_DATABASE_URL" "postgres://postgres:postgres@127.0.0.1:5432/myapp_test"}}
production:
url: {{envOr "DATABASE_URL" "postgres://postgres:postgres@127.0.0.1:5432/myapp_production"}}