Update Docker image and ports.

This commit is contained in:
Paul Makles
2021-01-27 18:31:27 +00:00
parent 1806ea824b
commit a8a8c08c29
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
# Build Stage
FROM ekidd/rust-musl-builder:nightly-2020-11-19 AS builder
FROM ekidd/rust-musl-builder:nightly-2021-01-01 AS builder
WORKDIR /home/rust/src
RUN USER=root cargo new --bin revolt

View File

@@ -14,5 +14,5 @@ services:
- REVOLT_UNSAFE_NO_CAPTCHA=1
ports:
- "8000:8000"
- "9999:9999"
- "9000:9000"
restart: unless-stopped

View File

@@ -8,7 +8,7 @@ use rocket_contrib::json::JsonValue;
#[get("/")]
pub async fn root() -> JsonValue {
json!({
"revolt": "0.3.1",
"revolt": "0.3.2",
"features": {
"registration": !*DISABLE_REGISTRATION,
"captcha": {