fix: dockerfile env vars
This commit is contained in:
@@ -40,7 +40,7 @@ COPY --from=assets /var/wiki/assets ./assets
|
||||
COPY --from=assets /var/wiki/node_modules ./node_modules
|
||||
COPY --from=assets /var/wiki/server ./server
|
||||
COPY ./server ./server
|
||||
COPY ./config.sample.yml ./config.yml
|
||||
COPY ./dev/build/config.yml ./config.yml
|
||||
COPY ./package.json ./package.json
|
||||
COPY ./LICENSE ./LICENSE
|
||||
|
||||
|
16
dev/build/config.yml
Normal file
16
dev/build/config.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
port: $(PORT)
|
||||
bindIP: 0.0.0.0
|
||||
db:
|
||||
type: $(DB_TYPE)
|
||||
host: $(DB_HOST)
|
||||
port: $(DB_PORT)
|
||||
user: $(DB_USER)
|
||||
pass: $(DB_PASS)
|
||||
db: $(DB_NAME)
|
||||
storage: $(DB_FILEPATH)
|
||||
redis:
|
||||
host: $(REDIS_HOST)
|
||||
port: $(REDIS_PORT)
|
||||
db: $(REDIS_DB)
|
||||
password: $(REDIS_PASS)
|
||||
logLevel: info
|
Reference in New Issue
Block a user