Remove Baseurl Env var and add more flexible db config #3
|
@ -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 .
|
||||||
|
|
Loading…
Reference in New Issue