From 68a4ae5758a54fbb3237fbed58e64a7d8c76a79a Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Sat, 20 Mar 2021 23:15:38 +0200 Subject: [PATCH] Working version --- README.md | 8 ++++---- compose.yml | 21 +++++++++------------ 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index ba50709..6dba579 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# Go-Neb +# go-neb Extensible matrix bot written in Go β€’ https://github.com/matrix-org/go-neb -* **Category**: -* **Status**: -* **Image**: [`go-neb`](https://hub.docker.com/r/go-neb/go-neb) +* **Category**: Utilities +* **Status**: βΉπŸ’£ +* **Image**: [`go-neb`](https://hub.docker.com/r/go-neb/go-neb), βΆπŸ’š, upstream * **Healthcheck**: * **Backups**: * **Email**: diff --git a/compose.yml b/compose.yml index 662a96c..1b40a80 100644 --- a/compose.yml +++ b/compose.yml @@ -3,29 +3,26 @@ version: "3.8" services: app: - image: nginx:1.19.2 + image: matrixdotorg/go-neb networks: - proxy + environment: + - "BASE_URL=https://${DOMAIN}/" deploy: restart_policy: condition: on-failure labels: - "traefik.enable=true" - - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80" + - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=4050" - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - ## Redirect from EXTRA_DOMAINS to DOMAIN - #- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect" - #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true" - #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost"] - interval: 30s - timeout: 10s - retries: 10 - start_period: 1m + volumes: + - "go-neb:/data" networks: proxy: external: true + +volumes: + go-neb: