From: Dessalines Date: Tue, 31 Jan 2023 13:30:54 +0000 (-0500) Subject: Version 0.17.0 X-Git-Url: http://these/git/ui/assets/static/README.zh.hans.md?a=commitdiff_plain;h=53bc0311b156c6459c39c4ed3f6174ee65726afd;p=lemmy.git Version 0.17.0 --- diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml index 639f798a..5387bd1a 100644 --- a/docker/dev/docker-compose.yml +++ b/docker/dev/docker-compose.yml @@ -47,7 +47,7 @@ services: - pictrs lemmy-ui: - image: dessalines/lemmy-ui:dev + image: dessalines/lemmy-ui:0.17.0 # use this to build your local lemmy ui image for development # run docker compose up --build # assuming lemmy-ui is cloned besides lemmy directory @@ -97,25 +97,8 @@ services: "postgres", "-c", "session_preload_libraries=auto_explain", "-c", "auto_explain.log_min_duration=5ms", - "-c", "auto_explain.log_analyze=true" - # Tuning config - # "-c", "max_connections=200", - # "-c", "shared_buffers=3GB", - # "-c", "effective_cache_size=9GB", - # "-c", "maintenance_work_mem=768MB", - # "-c", "checkpoint_completion_target=0.9", - # "-c", "checkpoint_timeout=86400", - # "-c", "wal_buffers=16MB", - # "-c", "default_statistics_target=100", - # "-c", "random_page_cost=4", - # "-c", "effective_io_concurrency=2", - # "-c", "work_mem=4GB", - # "-c", "min_wal_size=1GB", - # "-c", "max_wal_size=30GB", - # "-c", "max_worker_processes=4", - # "-c", "max_parallel_workers_per_gather=2", - # "-c", "max_parallel_workers=4", - # "-c", "max_parallel_maintenance_workers=2" + "-c", "auto_explain.log_analyze=true", + "-c", "config_file=/etc/postgresql.conf" ] networks: - lemmyinternal @@ -130,6 +113,7 @@ services: - POSTGRES_DB=lemmy volumes: - ./volumes/postgres:/var/lib/postgresql/data + - ./customPostgresql.conf:/etc/postgresql.conf restart: always otel: diff --git a/docker/federation/docker-compose.yml b/docker/federation/docker-compose.yml index 13e73fb9..a2b93aa0 100644 --- a/docker/federation/docker-compose.yml +++ b/docker/federation/docker-compose.yml @@ -28,7 +28,7 @@ services: - ./volumes/pictrs_alpha:/mnt lemmy-alpha-ui: - image: dessalines/lemmy-ui:0.16.5 + image: dessalines/lemmy-ui:0.17.0 environment: - LEMMY_INTERNAL_HOST=lemmy-alpha:8541 - LEMMY_EXTERNAL_HOST=localhost:8541 @@ -56,7 +56,7 @@ services: - ./volumes/postgres_alpha:/var/lib/postgresql/data lemmy-beta-ui: - image: dessalines/lemmy-ui:0.16.5 + image: dessalines/lemmy-ui:0.17.0 environment: - LEMMY_INTERNAL_HOST=lemmy-beta:8551 - LEMMY_EXTERNAL_HOST=localhost:8551 @@ -84,7 +84,7 @@ services: - ./volumes/postgres_beta:/var/lib/postgresql/data lemmy-gamma-ui: - image: dessalines/lemmy-ui:0.16.5 + image: dessalines/lemmy-ui:0.17.0 environment: - LEMMY_INTERNAL_HOST=lemmy-gamma:8561 - LEMMY_EXTERNAL_HOST=localhost:8561 @@ -113,7 +113,7 @@ services: # An instance with only an allowlist for beta lemmy-delta-ui: - image: dessalines/lemmy-ui:0.16.5 + image: dessalines/lemmy-ui:0.17.0 environment: - LEMMY_INTERNAL_HOST=lemmy-delta:8571 - LEMMY_EXTERNAL_HOST=localhost:8571 @@ -142,7 +142,7 @@ services: # An instance who has a blocklist, with lemmy-alpha blocked lemmy-epsilon-ui: - image: dessalines/lemmy-ui:0.16.5 + image: dessalines/lemmy-ui:0.17.0 environment: - LEMMY_INTERNAL_HOST=lemmy-epsilon:8581 - LEMMY_EXTERNAL_HOST=localhost:8581 diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index a1efd03f..62693312 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -29,7 +29,7 @@ services: - lemmy-ui lemmy: - image: dessalines/lemmy:0.16.7 + image: dessalines/lemmy:0.17.0 hostname: lemmy networks: - lemmyinternal @@ -43,7 +43,7 @@ services: - pictrs lemmy-ui: - image: dessalines/lemmy-ui:0.16.7 + image: dessalines/lemmy-ui:0.17.0 networks: - lemmyinternal environment: