Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sample_app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mai Hoang Thai Ha
sample_app
Commits
de0559f3
Commit
de0559f3
authored
Jun 24, 2021
by
Mai Hoang Thai Ha
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "add aws"
This reverts commit
ac1471ac
.
parent
fd19900b
Pipeline
#1308
canceled with stages
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
9 deletions
+1
-9
config/environments/production.rb
+1
-1
config/storage.yml
+0
-8
No files found.
config/environments/production.rb
View file @
de0559f3
...
@@ -38,7 +38,7 @@ Rails.application.configure do
...
@@ -38,7 +38,7 @@ Rails.application.configure do
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
# Store uploaded files on the local file system (see config/storage.yml for options).
# Store uploaded files on the local file system (see config/storage.yml for options).
config
.
active_storage
.
service
=
:
amazon
config
.
active_storage
.
service
=
:
local
# Mount Action Cable outside main process or domain.
# Mount Action Cable outside main process or domain.
# config.action_cable.mount_path = nil
# config.action_cable.mount_path = nil
...
...
config/storage.yml
View file @
de0559f3
...
@@ -6,14 +6,6 @@ local:
...
@@ -6,14 +6,6 @@ local:
service
:
Disk
service
:
Disk
root
:
<%= Rails.root.join("storage") %>
root
:
<%= Rails.root.join("storage") %>
amazon
:
service
:
S3
access_key_id
:
<%= ENV['AWS_ACCESS_KEY_ID'] %>
secret_access_key
:
<%= ENV['AWS_SECRET_ACCESS_KEY'] %>
region
:
<%= ENV['AWS_REGION'] %>
bucket
:
<%= ENV['AWS_BUCKET'] %>
# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
# amazon:
# amazon:
# service: S3
# service: S3
...
...
Mai Hoang Thai Ha
@hamht
mentioned in commit
049011f5
Jun 24, 2021
mentioned in commit
049011f5
mentioned in commit 049011f5460d6987bf0f1cd51dbe3cd767b7f39e
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment