Browse Source

Expose $ROCKET_PORT instead of 80

pull/1838/head
Andreas Waschinski 4 years ago
parent
commit
f1fda52b21
  1. 2
      docker/Dockerfile.j2
  2. 2
      docker/amd64/Dockerfile
  3. 2
      docker/amd64/Dockerfile.alpine
  4. 2
      docker/arm64/Dockerfile
  5. 2
      docker/armv6/Dockerfile
  6. 2
      docker/armv7/Dockerfile
  7. 2
      docker/armv7/Dockerfile.alpine

2
docker/Dockerfile.j2

@ -239,7 +239,7 @@ RUN [ "cross-build-end" ]
{% endif %} {% endif %}
VOLUME /data VOLUME /data
EXPOSE 80 EXPOSE $ROCKET_PORT
EXPOSE 3012 EXPOSE 3012
# Copies the files from the context (Rocket.toml file and web-vault) # Copies the files from the context (Rocket.toml file and web-vault)

2
docker/amd64/Dockerfile

@ -94,7 +94,7 @@ RUN mkdir /data \
VOLUME /data VOLUME /data
EXPOSE 80 EXPOSE $ROCKET_PORT
EXPOSE 3012 EXPOSE 3012
# Copies the files from the context (Rocket.toml file and web-vault) # Copies the files from the context (Rocket.toml file and web-vault)

2
docker/amd64/Dockerfile.alpine

@ -89,7 +89,7 @@ RUN mkdir /data \
VOLUME /data VOLUME /data
EXPOSE 80 EXPOSE $ROCKET_PORT
EXPOSE 3012 EXPOSE 3012
# Copies the files from the context (Rocket.toml file and web-vault) # Copies the files from the context (Rocket.toml file and web-vault)

2
docker/arm64/Dockerfile

@ -134,7 +134,7 @@ RUN mkdir /data \
RUN [ "cross-build-end" ] RUN [ "cross-build-end" ]
VOLUME /data VOLUME /data
EXPOSE 80 EXPOSE $ROCKET_PORT
EXPOSE 3012 EXPOSE 3012
# Copies the files from the context (Rocket.toml file and web-vault) # Copies the files from the context (Rocket.toml file and web-vault)

2
docker/armv6/Dockerfile

@ -134,7 +134,7 @@ RUN mkdir /data \
RUN [ "cross-build-end" ] RUN [ "cross-build-end" ]
VOLUME /data VOLUME /data
EXPOSE 80 EXPOSE $ROCKET_PORT
EXPOSE 3012 EXPOSE 3012
# Copies the files from the context (Rocket.toml file and web-vault) # Copies the files from the context (Rocket.toml file and web-vault)

2
docker/armv7/Dockerfile

@ -134,7 +134,7 @@ RUN mkdir /data \
RUN [ "cross-build-end" ] RUN [ "cross-build-end" ]
VOLUME /data VOLUME /data
EXPOSE 80 EXPOSE $ROCKET_PORT
EXPOSE 3012 EXPOSE 3012
# Copies the files from the context (Rocket.toml file and web-vault) # Copies the files from the context (Rocket.toml file and web-vault)

2
docker/armv7/Dockerfile.alpine

@ -96,7 +96,7 @@ RUN mkdir /data \
RUN [ "cross-build-end" ] RUN [ "cross-build-end" ]
VOLUME /data VOLUME /data
EXPOSE 80 EXPOSE $ROCKET_PORT
EXPOSE 3012 EXPOSE 3012
# Copies the files from the context (Rocket.toml file and web-vault) # Copies the files from the context (Rocket.toml file and web-vault)

Loading…
Cancel
Save