refactor(tubarao):server right-sizing
This commit is contained in:
2 files changed
+48
-16
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user