Working version

This commit is contained in:
3wc 2021-03-20 23:15:38 +02:00
parent 8d70c9b156
commit 68a4ae5758
2 changed files with 13 additions and 16 deletions

View File

@ -1,11 +1,11 @@
# Go-Neb
# go-neb
Extensible matrix bot written in Go • https://github.com/matrix-org/go-neb
<!-- metadata -->
* **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**:

View File

@ -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: