refactor(tubarao):server right-sizing
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/push/deploy Pipeline was skipped

This commit is contained in:
mifi committed 2026-12-03 14:11:37 -03:00
1 parent 99e539521a
commit 1dacc678d3
2 files changed
+50 -18

No files matched your search

+20 -4
View File
@@ -9,7 +9,11 @@ services:
networks:
- backend
volumes:
- /mnt/config/docker/kutt/postgres:/var/lib/postgresql/data
- type: bind
source: /mnt/docker-host/volumes/kutt/postgres
target: /var/lib/postgresql/data
bind:
create_host_path: false
environment:
POSTGRES_USER: ${DB_USER:-kutt}
POSTGRES_PASSWORD: ${DB_PASSWORD:?Set DB_PASSWORD}
@@ -31,7 +35,11 @@ services:
networks:
- backend
volumes:
- /mnt/config/docker/kutt/redis:/data
- type: bind
source: /mnt/docker-host/volumes/kutt/redis
target: /data
bind:
create_host_path: false
command: redis-server --appendonly yes
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
@@ -119,8 +127,16 @@ services:
networks:
- backend
volumes:
- /mnt/config/docker/qr/db:/data
- /mnt/config/docker/qr/uploads:/uploads
- type: bind
source: /mnt/docker-host/volumes/qr/db
target: /data
bind:
create_host_path: false
- type: bind
source: /mnt/docker-host/volumes/qr/uploads
target: /uploads
bind:
create_host_path: false
environment:
PORT: ${API_PORT:-8080}
DB_PATH: ${DB_PATH:-/data/db.sqlite}