diff --git a/build/docker/Dockerfile.monolith b/build/docker/Dockerfile.monolith index c2b87839f..3e9d0cba4 100644 --- a/build/docker/Dockerfile.monolith +++ b/build/docker/Dockerfile.monolith @@ -2,13 +2,12 @@ FROM matrixdotorg/dendrite:latest AS base FROM alpine:latest -ARG component=monolith - COPY --from=base /build/bin/dendrite-monolith-server /usr/bin COPY --from=base /build/bin/goose /usr/bin COPY --from=base /build/bin/create-account /usr/bin +COPY --from=base /build/bin/generate-keys /usr/bin VOLUME /etc/dendrite WORKDIR /etc/dendrite -ENTRYPOINT /usr/bin/dendrite-monolith-server $@ \ No newline at end of file +ENTRYPOINT ["/usr/bin/dendrite-monolith-server"] \ No newline at end of file diff --git a/build/docker/Dockerfile.polylith b/build/docker/Dockerfile.polylith index d6676e0da..dd4cbd38f 100644 --- a/build/docker/Dockerfile.polylith +++ b/build/docker/Dockerfile.polylith @@ -2,13 +2,12 @@ FROM matrixdotorg/dendrite:latest AS base FROM alpine:latest -ARG component - COPY --from=base /build/bin/dendrite-polylith-multi /usr/bin COPY --from=base /build/bin/goose /usr/bin COPY --from=base /build/bin/create-account /usr/bin +COPY --from=base /build/bin/generate-keys /usr/bin VOLUME /etc/dendrite WORKDIR /etc/dendrite -ENTRYPOINT /usr/bin/dendrite-polylith-multi $@ \ No newline at end of file +ENTRYPOINT ["/usr/bin/dendrite-polylith-multi"] \ No newline at end of file diff --git a/build/docker/docker-compose.deps.yml b/build/docker/docker-compose.deps.yml index 74e478a8d..1a27ffac0 100644 --- a/build/docker/docker-compose.deps.yml +++ b/build/docker/docker-compose.deps.yml @@ -2,7 +2,7 @@ version: "3.4" services: postgres: hostname: postgres - image: postgres:9.5 + image: postgres:9.6 restart: always volumes: - ./postgres/create_db.sh:/docker-entrypoint-initdb.d/20-create_db.sh diff --git a/build/docker/docker-compose.polylith.yml b/build/docker/docker-compose.polylith.yml index 677dbbfe3..f377e36fc 100644 --- a/build/docker/docker-compose.polylith.yml +++ b/build/docker/docker-compose.polylith.yml @@ -6,7 +6,6 @@ services: command: clientapi volumes: - ./config:/etc/dendrite - - room_server networks: - internal @@ -94,10 +93,7 @@ services: appservice_api: hostname: appservice_api image: matrixdotorg/dendrite-polylith:latest - command: [ - "appservice", - "--config=dendrite.yaml" - ] + command: appservice volumes: - ./config:/etc/dendrite networks: diff --git a/docs/INSTALL.md b/docs/INSTALL.md index e25ced1c6..f804193cd 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -24,7 +24,7 @@ use in production environments just yet! Dendrite requires: * Go 1.13 or higher -* Postgres 9.5 or higher (if using Postgres databases, not needed for SQLite) +* Postgres 9.6 or higher (if using Postgres databases, not needed for SQLite) If you want to run a polylith deployment, you also need: @@ -98,7 +98,7 @@ create them automatically at startup. ### Postgres database setup -Assuming that Postgres 9.5 (or later) is installed: +Assuming that Postgres 9.6 (or later) is installed: * Create role, choosing a new password when prompted: