Remove Baseurl Env var and add more flexible db config #3

Merged
neri merged 3 commits from fionera/datatrash:master into master 2020-08-02 23:12:25 +00:00
1 changed files with 0 additions and 5 deletions
Showing only changes of commit 3c05a725c2 - Show all commits

View File

@ -17,11 +17,6 @@ RUN cargo install --path . --features vendored
FROM alpine FROM alpine
ENV DATABASE_URL "postresql://localhost"
ENV SERVER_URL "http://localhost:8000"
ENV FILES_DIR "./files"
ENV UPLOAD_MAX_BYTES "8388608"
ENV BIND_ADDRESS "0.0.0.0:8000"
ENV RUST_BACKTRACE "1" ENV RUST_BACKTRACE "1"
COPY --from=build /home/rust/.cargo/bin/datatrash . COPY --from=build /home/rust/.cargo/bin/datatrash .