mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Dockerize! Startup with docker-compose up
Make sure to docker-compose build first
This commit is contained in:
+10
-14
@@ -1,23 +1,19 @@
|
||||
development:
|
||||
development: &default
|
||||
adapter: postgresql
|
||||
database: velocipede
|
||||
username: velocipede
|
||||
password:
|
||||
host: 127.0.0.1
|
||||
encoding: unicode
|
||||
pool: 5
|
||||
database: <%= ENV['RDS_DB_NAME'] || 'postgres' %>
|
||||
username: <%= ENV['RDS_USERNAME'] || 'postgres' %>
|
||||
password: <%= ENV['RDS_PASSWORD'] %>
|
||||
host: <%= ENV['RDS_HOSTNAME'] || 'db' %>
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
test:
|
||||
adapter: postgresql
|
||||
<<: *default
|
||||
database: velocipede_test
|
||||
username: velocipede
|
||||
password:
|
||||
host: 127.0.0.1
|
||||
|
||||
production:
|
||||
adapter: postgresql
|
||||
database: velocipede
|
||||
username: velocipede
|
||||
password:
|
||||
host: 127.0.0.1
|
||||
<<: *default
|
||||
database: velocipede_production
|
||||
|
||||
Reference in New Issue
Block a user