mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-25 02:47:28 +00:00
Chore: Build: Add build-time LICENSE_REQUIRED config flag to Joplin Server (#15913)
This commit is contained in:
1 parent
bbc8999a45
commit
24ab23045b
4 files changed
+13
No files matched your search
@@ -89,6 +89,9 @@ RUN pm2 install https://registry.npmjs.org/pm2-logrotate/-/pm2-logrotate-3.0.0.t
|
||||
&& pm2 set pm2-logrotate:retain 5 \
|
||||
&& pm2 set pm2-logrotate:compress true
|
||||
|
||||
ARG LICENSE_REQUIRED="0"
|
||||
ENV LICENSE_REQUIRED=${LICENSE_REQUIRED}
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV RUNNING_IN_DOCKER=1
|
||||
EXPOSE ${APP_PORT}
|
||||
|
||||
Reference in new issue
Block a user