0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-05-18 12:53:46 +02:00

Make the docker images use port 80 (instead of 8000, which is the default in rocket 0.4)

This commit is contained in:
Daniel García 2018-11-01 00:07:03 +01:00
parent bc532f54d5
commit e844f41abc
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
4 changed files with 4 additions and 0 deletions

View file

@ -64,6 +64,7 @@ RUN cargo build --release
FROM debian:stretch-slim
ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80
ENV ROCKET_WORKERS=10
# Install needed libraries

View file

@ -83,6 +83,7 @@ RUN cargo build --release --target=aarch64-unknown-linux-gnu -v
FROM resin/aarch64-debian:stretch
ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80
ENV ROCKET_WORKERS=10
RUN [ "cross-build-start" ]

View file

@ -56,6 +56,7 @@ RUN cargo build --release
FROM alpine:3.8
ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80
ENV ROCKET_WORKERS=10
ENV SSL_CERT_DIR=/etc/ssl/certs

View file

@ -83,6 +83,7 @@ RUN cargo build --release --target=armv7-unknown-linux-gnueabihf -v
FROM resin/armv7hf-debian:stretch
ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80
ENV ROCKET_WORKERS=10
RUN [ "cross-build-start" ]