Added doamins

This commit is contained in:
2023-05-10 14:29:15 +01:00
parent 1b08798306
commit 843b510395
22 changed files with 304 additions and 5 deletions

View File

@@ -14,19 +14,19 @@ default: &default
encoding: utf8mb4
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
username: root
password:
password: password
host: localhost
development:
<<: *default
database: opensmtpd_rails_frontend_development
database: opensmtpd_dev
# 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:
<<: *default
database: opensmtpd_rails_frontend_test
database: opensmtpd_test
# As with config/credentials.yml, you never want to store sensitive information,
# like your database password, in your source code. If your source code is
@@ -50,6 +50,6 @@ test:
#
production:
<<: *default
database: opensmtpd_rails_frontend_production
username: opensmtpd_rails_frontend
database: opensmtpd
username: opensmtpd
password: <%= ENV["OPENSMTPD_RAILS_FRONTEND_DATABASE_PASSWORD"] %>

View File

@@ -1,4 +1,5 @@
Rails.application.routes.draw do
resources :domains
devise_for :users
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html