add Dockerfile and configure production app

This commit is contained in:
Alex Turchyn
2023-06-24 22:50:12 +03:00
parent 8bb6ff7ab3
commit 8a6430f117
25 changed files with 300 additions and 193 deletions
+3 -2
View File
@@ -11,5 +11,6 @@ test:
database: docuseal_test
production:
<<: *default
database: db/production.sqlite3
adapter: <%= ENV['DATABASE_URL'].present? ? 'postgresql' : 'sqlite3' %>
encoding: unicode
database: <%= ENV['WORKDIR'] || '.' %>/db.sqlite3