forked from jmug/stoatchat
Update Docker image and ports.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -14,5 +14,5 @@ services:
|
||||
- REVOLT_UNSAFE_NO_CAPTCHA=1
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "9999:9999"
|
||||
- "9000:9000"
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user