correct config

This commit is contained in:
Sebastian Hugentobler 2018-11-27 13:39:11 +01:00
parent cc210a0da0
commit 90526d837d
2 changed files with 5 additions and 3 deletions

View File

@ -14,6 +14,8 @@ RUN adduser -h /var/lib/matrix-bridge -u 2222 -D -G matrix-bridge matrix-bridge
COPY --from=builder /go/bin/mautrix-whatsapp /bin/mautrix-whatsapp COPY --from=builder /go/bin/mautrix-whatsapp /bin/mautrix-whatsapp
RUN apk --no-cache add ca-certificates
WORKDIR /var/lib/matrix-bridge WORKDIR /var/lib/matrix-bridge
RUN mkdir /var/lib/matrix-bridge/data RUN mkdir /var/lib/matrix-bridge/data
@ -23,5 +25,5 @@ ADD /rootfs /
RUN chown -R matrix-bridge:matrix-bridge /var/lib/matrix-bridge RUN chown -R matrix-bridge:matrix-bridge /var/lib/matrix-bridge
ENV HOME /var/lib/matrix-bridge ENV HOME /var/lib/matrix-bridge
EXPOSE 9005 EXPOSE 8080

View File

@ -36,8 +36,8 @@ appservice:
avatar: mxc://maunium.net/NeXNQarUbrlYBiPCpprYsRqr avatar: mxc://maunium.net/NeXNQarUbrlYBiPCpprYsRqr
# Authentication tokens for AS <-> HS communication. Autogenerated; do not modify. # Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
as_token: "" as_token: "{{ getenv "AS_TOKEN" }}"
hs_token: "" hs_token: {{ getenv "HS_TOKEN" }}"
# Bridge config. Currently unused. # Bridge config. Currently unused.
bridge: bridge: