Improve service & update logo color

This commit is contained in:
Halil Özgür 2025-09-09 10:27:33 +03:00
parent 7754f5c769
commit f5a4c5ac3f
No known key found for this signature in database
2 changed files with 29 additions and 33 deletions

View file

@ -73,7 +73,7 @@
inkscape:connector-curvature="0"
id="path1087"
d="m 175.2367,338.27684 h 31.47905 v -153.9548 h 60.76188"
style="fill:none;stroke:#795649;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" /><rect
style="fill:none;stroke:#6D4C41;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" /><rect
ry="13.418079"
rx="13.418079"
y="298.72879"
@ -81,7 +81,7 @@
height="77.683617"
width="114.48766"
id="rect1025"
style="opacity:1;vector-effect:none;fill:#795649;fill-opacity:1;stroke:#795649;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><rect
style="opacity:1;vector-effect:none;fill:#6D4C41;fill-opacity:1;stroke:#6D4C41;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><rect
ry="13.418079"
rx="13.418079"
y="145.48022"
@ -89,7 +89,7 @@
height="77.683617"
width="114.48766"
id="rect1025-3"
style="opacity:1;vector-effect:none;fill:#795649;fill-opacity:1;stroke:#795649;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><rect
style="opacity:1;vector-effect:none;fill:#6D4C41;fill-opacity:1;stroke:#6D4C41;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><rect
ry="13.418079"
rx="13.418079"
y="66.233986"
@ -97,7 +97,7 @@
height="77.683617"
width="114.48766"
id="rect1025-3-7"
style="opacity:1;vector-effect:none;fill:#795649;fill-opacity:1;stroke:#795649;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><rect
style="opacity:1;vector-effect:none;fill:#6D4C41;fill-opacity:1;stroke:#6D4C41;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><rect
ry="13.418079"
rx="13.418079"
y="216.99173"
@ -105,11 +105,11 @@
height="77.683617"
width="114.48766"
id="rect1025-3-6-5"
style="opacity:1;vector-effect:none;fill:#795649;fill-opacity:1;stroke:#795649;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><path
style="opacity:1;vector-effect:none;fill:#6D4C41;fill-opacity:1;stroke:#6D4C41;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><path
inkscape:connector-curvature="0"
id="path1087-3"
d="m 175.2367,338.27684 h 31.47905 v 153.9548 h 60.76188"
style="fill:none;stroke:#795649;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" /><rect
style="fill:none;stroke:#6D4C41;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" /><rect
ry="13.418079"
rx="13.418079"
y="453.3432"
@ -117,15 +117,15 @@
height="77.683617"
width="114.48766"
id="rect1025-3-5"
style="opacity:1;vector-effect:none;fill:#795649;fill-opacity:1;stroke:#795649;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><path
style="opacity:1;vector-effect:none;fill:#6D4C41;fill-opacity:1;stroke:#6D4C41;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><path
inkscape:connector-curvature="0"
id="path1087-6"
d="m 389.46529,181.9825 h 36.59813 v -76.10121 h 70.64286"
style="fill:none;stroke:#795649;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" /><path
style="fill:none;stroke:#6D4C41;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" /><path
inkscape:connector-curvature="0"
id="path1087-3-2"
d="m 375.46529,181.9825 50.59813,0 v 76.1012 h 70.64286"
style="fill:none;stroke:#795649;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
style="fill:none;stroke:#6D4C41;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
sodipodi:nodetypes="cccc" /><rect
ry="13.418079"
rx="13.418079"
@ -134,7 +134,7 @@
height="77.683617"
width="114.48766"
id="rect1025-3-7-9"
style="opacity:1;vector-effect:none;fill:#795649;fill-opacity:1;stroke:#795649;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><rect
style="opacity:1;vector-effect:none;fill:#6D4C41;fill-opacity:1;stroke:#6D4C41;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><rect
ry="13.418079"
rx="13.418079"
y="526.65009"
@ -142,13 +142,13 @@
height="77.683617"
width="114.48766"
id="rect1025-3-6-5-1"
style="opacity:1;vector-effect:none;fill:#795649;fill-opacity:1;stroke:#795649;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><path
style="opacity:1;vector-effect:none;fill:#6D4C41;fill-opacity:1;stroke:#6D4C41;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /><path
inkscape:connector-curvature="0"
id="path1087-6-2"
d="m 389.46529,491.64082 h 36.59813 v -76.10121 h 70.64286"
style="fill:none;stroke:#795649;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" /><path
style="fill:none;stroke:#6D4C41;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" /><path
inkscape:connector-curvature="0"
id="path1087-3-2-7"
d="m 375.46529,491.64082 50.59813,0 v 76.10121 h 70.64286"
style="fill:none;stroke:#795649;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
style="fill:none;stroke:#6D4C41;stroke-width:30;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
sodipodi:nodetypes="cccc" /></g></svg>

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View file

@ -6,17 +6,18 @@
# port: 5000
services:
grampsweb: &grampsweb
grampsweb:
image: ghcr.io/gramps-project/grampsweb:latest
environment:
GRAMPSWEB_TREE: ${GRAMPSWEB_TREE:-Gramps Web} # will create a new tree if not exists
GRAMPSWEB_CELERY_CONFIG__broker_url: "redis://grampsweb_redis:6379/0"
GRAMPSWEB_CELERY_CONFIG__result_backend: "redis://grampsweb_redis:6379/0"
GRAMPSWEB_RATELIMIT_STORAGE_URI: redis://grampsweb_redis:6379/1
GUNICORN_NUM_WORKERS: ${GUNICORN_NUM_WORKERS:-2}
- SERVICE_URL_GRAMPSWEB_5000
- GRAMPSWEB_TREE=${GRAMPSWEB_TREE:-Gramps Web} # will create a new tree if not exists
- GRAMPSWEB_CELERY_CONFIG__broker_url=redis://grampsweb_redis:6379/0
- GRAMPSWEB_CELERY_CONFIG__result_backend=redis://grampsweb_redis:6379/0
- GRAMPSWEB_RATELIMIT_STORAGE_URI=redis://grampsweb_redis:6379/1
- GUNICORN_NUM_WORKERS=${GUNICORN_NUM_WORKERS:-2}
depends_on:
- grampsweb_redis
volumes:
volumes: &volumes
- gramps_users:/app/users # persist user database
- gramps_index:/app/indexdir # persist search index
- gramps_thumb_cache:/app/thumbnail_cache # persist thumbnails
@ -32,10 +33,16 @@ services:
retries: 3
grampsweb_celery:
<<: *grampsweb
container_name: grampsweb_celery
image: ghcr.io/gramps-project/grampsweb:latest
environment:
- GRAMPSWEB_TREE=${GRAMPSWEB_TREE:-Gramps Web} # will create a new tree if not exists
- GRAMPSWEB_CELERY_CONFIG__broker_url=redis://grampsweb_redis:6379/0
- GRAMPSWEB_CELERY_CONFIG__result_backend=redis://grampsweb_redis:6379/0
- GRAMPSWEB_RATELIMIT_STORAGE_URI=redis://grampsweb_redis:6379/1
depends_on:
- grampsweb_redis
volumes:
<<: *volumes
command: celery -A gramps_webapi.celery worker --loglevel=INFO --concurrency=2
healthcheck:
test: SECRET_KEY="$(cat secret/secret)" celery -A gramps_webapi.celery status || exit 1
@ -45,19 +52,8 @@ services:
grampsweb_redis:
image: docker.io/library/redis:7.2.4-alpine
container_name: grampsweb_redis
healthcheck:
test: redis-cli ping | grep PONG
interval: 5s
timeout: 10s
retries: 3
volumes:
gramps_users:
gramps_index:
gramps_thumb_cache:
gramps_cache:
gramps_secret:
gramps_db:
gramps_media:
gramps_tmp: