- 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
"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
- POSTGRES_DB=lemmy
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
+ - ./customPostgresql.conf:/etc/postgresql.conf
restart: always
otel:
- ./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
- ./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
- ./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
# 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
# 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