Skip to content

Commit

Permalink
Version 0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Jan 31, 2023
1 parent a9905bf commit 53bc031
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 27 deletions.
24 changes: 4 additions & 20 deletions docker/dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -130,6 +113,7 @@ services:
- POSTGRES_DB=lemmy
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
- ./customPostgresql.conf:/etc/postgresql.conf
restart: always

otel:
Expand Down
10 changes: 5 additions & 5 deletions docker/federation/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker/prod/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
- lemmy-ui

lemmy:
image: dessalines/lemmy:0.16.7
image: dessalines/lemmy:0.17.0
hostname: lemmy
networks:
- lemmyinternal
Expand All @@ -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:
Expand Down

0 comments on commit 53bc031

Please sign in to comment.