File tree 3 files changed +6
-2
lines changed 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ COPY . .
14
14
15
15
RUN yarn build && \
16
16
yarn --production --ignore-scripts --prefer-offline && \
17
- rm -rf server && \
18
17
rm -rf shared && \
19
18
rm -rf app
20
19
Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ For a manual self-hosted production installation these are the suggested steps:
44
44
1 . ` REDIS_URL ` (run your own local copy of Redis, or use a cloud service)
45
45
1 . ` URL ` (the public facing URL of your installation)
46
46
1 . ` AWS_ ` (all of the keys beginning with AWS)
47
- 1 . Migrate database schema with ` yarn sequelize:migrate `
47
+ 1 . Migrate database schema with ` yarn sequelize:migrate ` . Production assumes an SSL connection, if
48
+ Postgres is on the same machine and is not SSL you can migrate with ` yarn sequelize:migrate --env=production-ssl-disabled ` .
48
49
1 . Start the service with any daemon tools you prefer. Take PM2 for example, ` NODE_ENV=production pm2 start ./build/server/index.js --name outline `
49
50
1 . Visit http://you_server_ip:3000 and you should be able to see Outline page
50
51
Original file line number Diff line number Diff line change 15
15
"rejectUnauthorized" : false
16
16
}
17
17
}
18
+ },
19
+ "production-ssl-disabled" : {
20
+ "use_env_variable" : " DATABASE_URL" ,
21
+ "dialect" : " postgres"
18
22
}
19
23
}
You can’t perform that action at this time.
0 commit comments