Skip to content

Commit

Permalink
reset back to something
Browse files Browse the repository at this point in the history
  • Loading branch information
cmayeux05 committed Oct 21, 2024
1 parent c1fd2a5 commit bd64e4f
Show file tree
Hide file tree
Showing 5 changed files with 1,830 additions and 21,012 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ RUN PUBLIC_URL=/client yarn build

FROM node:14 as server-build
WORKDIR /usr/src/app
RUN npm install strapi-plugin-upload
COPY ./server/package.json .
COPY ./server/yarn.lock .
RUN yarn install
Expand Down
4 changes: 3 additions & 1 deletion server/config/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ module.exports = ({ env }) => ({
username: env('DATABASE_USERNAME', 'postgres'),
password: env('DATABASE_PASSWORD', 'postgres'),
schema: 'public',
ssl: { rejectUnauthorized: false }
ssl: env('NODE_ENV') == 'production'
? { rejectUnauthorized: false }
: false
},
options: {
'pool': {
Expand Down
8 changes: 0 additions & 8 deletions server/config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ module.exports = () => ({
defaultReplyTo: '[email protected]',
},
},
upload: {
config: {
provider: 'local',
providerOptions: {
//sizeLimit: 1000000, // Set the size limit for uploads (in bytes)
},
},
},
sentry: {
dsn: process.env.SENTRY_DNS || '',
integrations: [new Sentry.Integrations.Http({ tracing: true })],
Expand Down
Loading

0 comments on commit bd64e4f

Please sign in to comment.