mirror of https://github.com/LemmyNet/lemmy.git
parent
a9905bf999
commit
53bc0311b1
|
@ -47,7 +47,7 @@ services:
|
||||||
- pictrs
|
- pictrs
|
||||||
|
|
||||||
lemmy-ui:
|
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
|
# use this to build your local lemmy ui image for development
|
||||||
# run docker compose up --build
|
# run docker compose up --build
|
||||||
# assuming lemmy-ui is cloned besides lemmy directory
|
# assuming lemmy-ui is cloned besides lemmy directory
|
||||||
|
@ -97,25 +97,8 @@ services:
|
||||||
"postgres",
|
"postgres",
|
||||||
"-c", "session_preload_libraries=auto_explain",
|
"-c", "session_preload_libraries=auto_explain",
|
||||||
"-c", "auto_explain.log_min_duration=5ms",
|
"-c", "auto_explain.log_min_duration=5ms",
|
||||||
"-c", "auto_explain.log_analyze=true"
|
"-c", "auto_explain.log_analyze=true",
|
||||||
# Tuning config
|
"-c", "config_file=/etc/postgresql.conf"
|
||||||
# "-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"
|
|
||||||
]
|
]
|
||||||
networks:
|
networks:
|
||||||
- lemmyinternal
|
- lemmyinternal
|
||||||
|
@ -130,6 +113,7 @@ services:
|
||||||
- POSTGRES_DB=lemmy
|
- POSTGRES_DB=lemmy
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/postgres:/var/lib/postgresql/data
|
- ./volumes/postgres:/var/lib/postgresql/data
|
||||||
|
- ./customPostgresql.conf:/etc/postgresql.conf
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
otel:
|
otel:
|
||||||
|
|
|
@ -28,7 +28,7 @@ services:
|
||||||
- ./volumes/pictrs_alpha:/mnt
|
- ./volumes/pictrs_alpha:/mnt
|
||||||
|
|
||||||
lemmy-alpha-ui:
|
lemmy-alpha-ui:
|
||||||
image: dessalines/lemmy-ui:0.16.5
|
image: dessalines/lemmy-ui:0.17.0
|
||||||
environment:
|
environment:
|
||||||
- LEMMY_INTERNAL_HOST=lemmy-alpha:8541
|
- LEMMY_INTERNAL_HOST=lemmy-alpha:8541
|
||||||
- LEMMY_EXTERNAL_HOST=localhost:8541
|
- LEMMY_EXTERNAL_HOST=localhost:8541
|
||||||
|
@ -56,7 +56,7 @@ services:
|
||||||
- ./volumes/postgres_alpha:/var/lib/postgresql/data
|
- ./volumes/postgres_alpha:/var/lib/postgresql/data
|
||||||
|
|
||||||
lemmy-beta-ui:
|
lemmy-beta-ui:
|
||||||
image: dessalines/lemmy-ui:0.16.5
|
image: dessalines/lemmy-ui:0.17.0
|
||||||
environment:
|
environment:
|
||||||
- LEMMY_INTERNAL_HOST=lemmy-beta:8551
|
- LEMMY_INTERNAL_HOST=lemmy-beta:8551
|
||||||
- LEMMY_EXTERNAL_HOST=localhost:8551
|
- LEMMY_EXTERNAL_HOST=localhost:8551
|
||||||
|
@ -84,7 +84,7 @@ services:
|
||||||
- ./volumes/postgres_beta:/var/lib/postgresql/data
|
- ./volumes/postgres_beta:/var/lib/postgresql/data
|
||||||
|
|
||||||
lemmy-gamma-ui:
|
lemmy-gamma-ui:
|
||||||
image: dessalines/lemmy-ui:0.16.5
|
image: dessalines/lemmy-ui:0.17.0
|
||||||
environment:
|
environment:
|
||||||
- LEMMY_INTERNAL_HOST=lemmy-gamma:8561
|
- LEMMY_INTERNAL_HOST=lemmy-gamma:8561
|
||||||
- LEMMY_EXTERNAL_HOST=localhost:8561
|
- LEMMY_EXTERNAL_HOST=localhost:8561
|
||||||
|
@ -113,7 +113,7 @@ services:
|
||||||
|
|
||||||
# An instance with only an allowlist for beta
|
# An instance with only an allowlist for beta
|
||||||
lemmy-delta-ui:
|
lemmy-delta-ui:
|
||||||
image: dessalines/lemmy-ui:0.16.5
|
image: dessalines/lemmy-ui:0.17.0
|
||||||
environment:
|
environment:
|
||||||
- LEMMY_INTERNAL_HOST=lemmy-delta:8571
|
- LEMMY_INTERNAL_HOST=lemmy-delta:8571
|
||||||
- LEMMY_EXTERNAL_HOST=localhost:8571
|
- LEMMY_EXTERNAL_HOST=localhost:8571
|
||||||
|
@ -142,7 +142,7 @@ services:
|
||||||
|
|
||||||
# An instance who has a blocklist, with lemmy-alpha blocked
|
# An instance who has a blocklist, with lemmy-alpha blocked
|
||||||
lemmy-epsilon-ui:
|
lemmy-epsilon-ui:
|
||||||
image: dessalines/lemmy-ui:0.16.5
|
image: dessalines/lemmy-ui:0.17.0
|
||||||
environment:
|
environment:
|
||||||
- LEMMY_INTERNAL_HOST=lemmy-epsilon:8581
|
- LEMMY_INTERNAL_HOST=lemmy-epsilon:8581
|
||||||
- LEMMY_EXTERNAL_HOST=localhost:8581
|
- LEMMY_EXTERNAL_HOST=localhost:8581
|
||||||
|
|
|
@ -29,7 +29,7 @@ services:
|
||||||
- lemmy-ui
|
- lemmy-ui
|
||||||
|
|
||||||
lemmy:
|
lemmy:
|
||||||
image: dessalines/lemmy:0.16.7
|
image: dessalines/lemmy:0.17.0
|
||||||
hostname: lemmy
|
hostname: lemmy
|
||||||
networks:
|
networks:
|
||||||
- lemmyinternal
|
- lemmyinternal
|
||||||
|
@ -43,7 +43,7 @@ services:
|
||||||
- pictrs
|
- pictrs
|
||||||
|
|
||||||
lemmy-ui:
|
lemmy-ui:
|
||||||
image: dessalines/lemmy-ui:0.16.7
|
image: dessalines/lemmy-ui:0.17.0
|
||||||
networks:
|
networks:
|
||||||
- lemmyinternal
|
- lemmyinternal
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue