diff --git a/.env.sample b/.env.sample index 24e956e..f571dc0 100644 --- a/.env.sample +++ b/.env.sample @@ -12,6 +12,9 @@ COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml" # COMPOSE_FILE="$COMPOSE_FILE:compose.forgejo.yml" # SECRET_LFS_JWT_SECRET_VERSION=v1 # length=43 +# Anubis +# COMPOSE_FILE="$COMPOSE_FILE:compose.anubis.yml" + GITEA_DOMAIN=git.example.com GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION=true GITEA_APP_NAME="Git with solidaritea" diff --git a/compose.anubis.yml b/compose.anubis.yml new file mode 100644 index 0000000..2e3fd28 --- /dev/null +++ b/compose.anubis.yml @@ -0,0 +1,7 @@ +--- +version: "3.8" +services: + app: + deploy: + labels: + - "traefik.http.routers.${STACK_NAME}.middlewares=anubis,${STACK_NAME}_cors"