changed env to be production

This commit is contained in:
Aaro Koivukangas
2023-08-05 15:02:32 +03:00
parent c650555e28
commit 8149fa9a6a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -9,3 +9,6 @@ services:
restart: always
# volumes:
# - ./:/home/app
environment:
RAILS_ENV: "production"
SECRET_KEY_BASE: "b21eb384e49d7620a02c6288eb462b0e5dc82038b4d7af563f0f067d4071a3a3"
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/bash
bundle exec rails server -b 0.0.0.0 -p 5555
rails db:migrate RAILS_ENV=development
rails db:migrate
rails db:seed