prod
This commit is contained in:
parent
0b9ca61296
commit
cf0115d3d2
@ -2,6 +2,6 @@ services:
|
|||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
environment:
|
environment:
|
||||||
- RAILS_MASTER_KEY
|
- RAILS_MASTER_KEY=fd60586db8062a37df97d839311c4c70
|
||||||
ports:
|
ports:
|
||||||
- "7128:80"
|
- "7128:80"
|
@ -48,7 +48,7 @@ production:
|
|||||||
adapter: mysql2
|
adapter: mysql2
|
||||||
username: <%= Rails.application.credentials.dig(:dbuser) %>
|
username: <%= Rails.application.credentials.dig(:dbuser) %>
|
||||||
password: <%= Rails.application.credentials.dig(:dbpassword) %>
|
password: <%= Rails.application.credentials.dig(:dbpassword) %>
|
||||||
host: 127.0.0.1
|
host: 172.17.0.1
|
||||||
port: 3306
|
port: 3306
|
||||||
database: gambo
|
database: gambo
|
||||||
cache:
|
cache:
|
||||||
|
@ -21,5 +21,5 @@ Rails.application.routes.draw do
|
|||||||
get "leaderboard", to: "leaderboard#index", as: "leaderboard", defaults: { format: :html }
|
get "leaderboard", to: "leaderboard#index", as: "leaderboard", defaults: { format: :html }
|
||||||
|
|
||||||
# Discord
|
# Discord
|
||||||
match "/discord" => redirect("https://discord.gg/hQShdPMy7p")
|
match "discord" => redirect("https://discord.gg/hQShdPMy7p"), via: [ :get ]
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user