From cf0115d3d2c4d4bab70f7aff2a1eb27f3c01d460 Mon Sep 17 00:00:00 2001 From: Evan Burkey Date: Sat, 25 Jan 2025 21:24:52 -0800 Subject: [PATCH] prod --- compose.yaml | 2 +- config/database.yml | 2 +- config/routes.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compose.yaml b/compose.yaml index 3450684..c2781fa 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,6 +2,6 @@ services: web: build: . environment: - - RAILS_MASTER_KEY + - RAILS_MASTER_KEY=fd60586db8062a37df97d839311c4c70 ports: - "7128:80" \ No newline at end of file diff --git a/config/database.yml b/config/database.yml index 84a5711..77747cd 100644 --- a/config/database.yml +++ b/config/database.yml @@ -48,7 +48,7 @@ production: adapter: mysql2 username: <%= Rails.application.credentials.dig(:dbuser) %> password: <%= Rails.application.credentials.dig(:dbpassword) %> - host: 127.0.0.1 + host: 172.17.0.1 port: 3306 database: gambo cache: diff --git a/config/routes.rb b/config/routes.rb index ed20a00..1dfd697 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -21,5 +21,5 @@ Rails.application.routes.draw do get "leaderboard", to: "leaderboard#index", as: "leaderboard", defaults: { format: :html } # Discord - match "/discord" => redirect("https://discord.gg/hQShdPMy7p") + match "discord" => redirect("https://discord.gg/hQShdPMy7p"), via: [ :get ] end