mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-07 21:28:30 +00:00
Untrack config.yml
`config/config.yml` has been untracked and moved to `config/config.example.yml`. The Dockerfile has been updated to copy all `config/config.*` files and to try to move `config/config.example.yml` to `config/config.yml`. If a user supplied `config/config.yml` exists it is not overwritten.
This commit is contained in:
parent
5e8856e65b
commit
fa172ab4ad
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@
|
||||
/.vscode/
|
||||
/invidious
|
||||
/sentry
|
||||
/config/config.yml
|
||||
|
@ -23,7 +23,8 @@ WORKDIR /invidious
|
||||
RUN addgroup -g 1000 -S invidious && \
|
||||
adduser -u 1000 -S invidious -G invidious
|
||||
COPY ./assets/ ./assets/
|
||||
COPY --chown=invidious ./config/config.yml ./config/config.yml
|
||||
COPY --chown=invidious ./config/config.* ./config/
|
||||
RUN mv -n config/config.example.yml config/config.yml
|
||||
RUN sed -i 's/host: \(127.0.0.1\|localhost\)/host: postgres/' config/config.yml
|
||||
COPY ./config/sql/ ./config/sql/
|
||||
COPY ./locales/ ./locales/
|
||||
|
Loading…
Reference in New Issue
Block a user