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