mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
upgrading the docker files to only set default values
This commit is contained in:
parent
c6c4210dd2
commit
04179f93b7
@ -18,9 +18,10 @@ FROM node:12-alpine3.11 as main
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV NODE_ENV=production \
|
ENV NODE_ENV=production \
|
||||||
CONFIG_FILE=/app/data/config/config.json \
|
CONFIG_FILE=/app/data/config/config.json \
|
||||||
Server-Database-dbFolder=/app/data/db \
|
# overrides only the default value of the settings (the actualy value can be overwritten through config.json)
|
||||||
Server-Media-folder=/app/data/images \
|
default-Server-Database-dbFolder=/app/data/db \
|
||||||
Server-Media-tempFolder=/app/data/tmp
|
default-Server-Media-folder=/app/data/images \
|
||||||
|
default-Server-Media-tempFolder=/app/data/tmp
|
||||||
# command line arg orverride the config.json with these settings
|
# command line arg orverride the config.json with these settings
|
||||||
ENTRYPOINT ["node", "./src/backend/index", \
|
ENTRYPOINT ["node", "./src/backend/index", \
|
||||||
# after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible
|
# after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible
|
||||||
|
@ -16,9 +16,10 @@ FROM node:12-stretch-slim as main
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV NODE_ENV=production \
|
ENV NODE_ENV=production \
|
||||||
CONFIG_FILE=/app/data/config/config.json \
|
CONFIG_FILE=/app/data/config/config.json \
|
||||||
Server-Database-dbFolder=/app/data/db \
|
# overrides only the default value of the settings (the actualy value can be overwritten through config.json)
|
||||||
Server-Media-folder=/app/data/images \
|
default-Server-Database-dbFolder=/app/data/db \
|
||||||
Server-Media-tempFolder=/app/data/tmp
|
default-Server-Media-folder=/app/data/images \
|
||||||
|
default-Server-Media-tempFolder=/app/data/tmp
|
||||||
# command line arg orverride the config.json with these settings
|
# command line arg orverride the config.json with these settings
|
||||||
ENTRYPOINT ["node", "./src/backend/index", \
|
ENTRYPOINT ["node", "./src/backend/index", \
|
||||||
# after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible
|
# after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible
|
||||||
|
Loading…
Reference in New Issue
Block a user