mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-22 05:43:11 +02:00
meow
Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
parent
939f1bdf2a
commit
875856f214
1 changed files with 16 additions and 3 deletions
|
@ -33,7 +33,7 @@ services:
|
|||
networks:
|
||||
- shonk
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
- reddits:/data
|
||||
healthcheck:
|
||||
test: "redis-cli ping"
|
||||
interval: 5s
|
||||
|
@ -41,7 +41,7 @@ services:
|
|||
|
||||
db:
|
||||
restart: always
|
||||
image: postgres:15-alpine
|
||||
image: postgres:15
|
||||
command: >-
|
||||
-c max_connections=200
|
||||
-c shared_buffers=512MB
|
||||
|
@ -61,11 +61,19 @@ services:
|
|||
env_file:
|
||||
- .config/docker.env
|
||||
volumes:
|
||||
- ./db:/var/lib/postgresql/data
|
||||
# - ./db:/var/lib/postgresql/data
|
||||
- datagays:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
|
||||
interval: 5s
|
||||
retries: 20
|
||||
debinyan:
|
||||
image: debian:latest
|
||||
volumes:
|
||||
- ./db:/data/db_orig
|
||||
- datagays:/data/db
|
||||
- ./redis.bak:/data/redis_orig
|
||||
- reddits:/data/redis
|
||||
|
||||
# meilisearch:
|
||||
# restart: always
|
||||
|
@ -81,3 +89,8 @@ services:
|
|||
|
||||
networks:
|
||||
shonk:
|
||||
|
||||
volumes:
|
||||
datagays:
|
||||
reddits:
|
||||
|
||||
|
|
Loading…
Reference in a new issue