Add 'allow broken uploads' to config
This option proved useful in debugging and workarounds
This commit is contained in:
@ -39,6 +39,10 @@ DB_NAME=szuru
|
|||||||
DB_PORT=5432
|
DB_PORT=5432
|
||||||
LOG_SQL=0
|
LOG_SQL=0
|
||||||
|
|
||||||
|
# Set true to allow an image to be uploaded despite warnings/errors
|
||||||
|
# ------------------------------------------------------------------
|
||||||
|
ALLOW_BROKEN_UPLOADS=false
|
||||||
|
|
||||||
# Privileges
|
# Privileges
|
||||||
# ----------
|
# ----------
|
||||||
# allowed values: anonymous - regular - power - moderator - administrator
|
# allowed values: anonymous - regular - power - moderator - administrator
|
||||||
|
26
README.md
Normal file
26
README.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Szurubooru
|
||||||
|
|
||||||
|
[Szurubooru][szurubooru] is an Image Booru (tag-based image archive) dedicated for small and medium communities, with a rich search and privilege system.
|
||||||
|
|
||||||
|
<!-- metadata -->
|
||||||
|
* **Category**: Apps
|
||||||
|
* **Status**: 2, beta
|
||||||
|
* **Image**: [`szurubooru/server`](https://hub.docker.com/r/szurubooru/server) & [`szurubooru/client`](https://hub.docker.com/r/szurubooru/client), 4, upstream
|
||||||
|
* **Healthcheck**: No
|
||||||
|
* **Backups**: No
|
||||||
|
* **Email**: No
|
||||||
|
* **Tests**: 1
|
||||||
|
* **SSO**: 0
|
||||||
|
<!-- endmetadata -->
|
||||||
|
|
||||||
|
## Basic usage
|
||||||
|
|
||||||
|
1. Set up Docker Swarm and [`abra`][abra]
|
||||||
|
2. Deploy [`coop-cloud/traefik`][compose-traefik]
|
||||||
|
3. `abra app new szurubooru`
|
||||||
|
4. `abra app config YOURAPPDOMAIN`
|
||||||
|
5. `abra app deploy YOURAPPDOMAIN`
|
||||||
|
|
||||||
|
[szurubooru]: https://github.com/rr-/szurubooru
|
||||||
|
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||||
|
[compose-traefik]: https://git.autonomic.zone/coop-cloud/traefik
|
@ -19,7 +19,7 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.0.1+2.5"
|
- "coop-cloud.${STACK_NAME}.version=0.1.0+2.5"
|
||||||
networks:
|
networks:
|
||||||
- internal_network
|
- internal_network
|
||||||
- proxy
|
- proxy
|
||||||
@ -60,6 +60,7 @@ services:
|
|||||||
- SMTP_USER
|
- SMTP_USER
|
||||||
- SMTP_FROM
|
- SMTP_FROM
|
||||||
- CONTACT_EMAIL
|
- CONTACT_EMAIL
|
||||||
|
- ALLOW_BROKEN_UPLOADS
|
||||||
- PRIVILEGE_CREATE_USER
|
- PRIVILEGE_CREATE_USER
|
||||||
- PRIVILEGE_LIST_POSTS
|
- PRIVILEGE_LIST_POSTS
|
||||||
- PRIVILEGE_VIEW_POSTS
|
- PRIVILEGE_VIEW_POSTS
|
||||||
@ -67,6 +68,7 @@ services:
|
|||||||
entrypoint: /entrypoint.sh
|
entrypoint: /entrypoint.sh
|
||||||
networks:
|
networks:
|
||||||
- internal_network
|
- internal_network
|
||||||
|
- proxy
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:11-alpine
|
image: postgres:11-alpine
|
||||||
|
@ -21,7 +21,7 @@ convert:
|
|||||||
to_mp4: false
|
to_mp4: false
|
||||||
|
|
||||||
# allow posts to be uploaded even if some image processing errors occur
|
# allow posts to be uploaded even if some image processing errors occur
|
||||||
allow_broken_uploads: false
|
allow_broken_uploads: {{ env "ALLOW_BROKEN_UPLOADS" }}
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
host: {{ env "SMTP_HOST" }}
|
host: {{ env "SMTP_HOST" }}
|
||||||
|
Reference in New Issue
Block a user