mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-21 22:27:08 +00:00
parent
ea0b856f1e
commit
3b717cfc88
|
@ -111,7 +111,6 @@ pub struct PostAggregates {
|
||||||
/// A newest comment time, limited to 2 days, to prevent necrobumping
|
/// A newest comment time, limited to 2 days, to prevent necrobumping
|
||||||
pub newest_comment_time_necro: DateTime<Utc>,
|
pub newest_comment_time_necro: DateTime<Utc>,
|
||||||
/// The time of the newest comment in the post.
|
/// The time of the newest comment in the post.
|
||||||
#[serde(skip)]
|
|
||||||
pub newest_comment_time: DateTime<Utc>,
|
pub newest_comment_time: DateTime<Utc>,
|
||||||
/// If the post is featured on the community.
|
/// If the post is featured on the community.
|
||||||
#[serde(skip)]
|
#[serde(skip)]
|
||||||
|
|
|
@ -17,7 +17,7 @@ services:
|
||||||
- "8536:8536"
|
- "8536:8536"
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro,Z
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro,Z
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- pictrs
|
- pictrs
|
||||||
- lemmy-ui
|
- lemmy-ui
|
||||||
|
@ -38,7 +38,7 @@ services:
|
||||||
# CARGO_BUILD_FEATURES: default
|
# CARGO_BUILD_FEATURES: default
|
||||||
# this hostname is used in nginx reverse proxy and also for lemmy ui to connect to the backend, do not change
|
# this hostname is used in nginx reverse proxy and also for lemmy ui to connect to the backend, do not change
|
||||||
hostname: lemmy
|
hostname: lemmy
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- RUST_LOG="warn,lemmy_server=debug,lemmy_api=debug,lemmy_api_common=debug,lemmy_api_crud=debug,lemmy_apub=debug,lemmy_db_schema=debug,lemmy_db_views=debug,lemmy_db_views_actor=debug,lemmy_db_views_moderator=debug,lemmy_routes=debug,lemmy_utils=debug,lemmy_websocket=debug"
|
- RUST_LOG="warn,lemmy_server=debug,lemmy_api=debug,lemmy_api_common=debug,lemmy_api_crud=debug,lemmy_apub=debug,lemmy_db_schema=debug,lemmy_db_views=debug,lemmy_db_views_actor=debug,lemmy_db_views_moderator=debug,lemmy_routes=debug,lemmy_utils=debug,lemmy_websocket=debug"
|
||||||
- RUST_BACKTRACE=full
|
- RUST_BACKTRACE=full
|
||||||
|
@ -72,7 +72,7 @@ services:
|
||||||
- LEMMY_UI_DEBUG=true
|
- LEMMY_UI_DEBUG=true
|
||||||
depends_on:
|
depends_on:
|
||||||
- lemmy
|
- lemmy
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
init: true
|
init: true
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ services:
|
||||||
user: 991:991
|
user: 991:991
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/pictrs:/mnt:Z
|
- ./volumes/pictrs:/mnt:Z
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
|
@ -127,5 +127,5 @@ services:
|
||||||
- POSTGRES_DB=lemmy
|
- POSTGRES_DB=lemmy
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/postgres:/var/lib/postgresql/data:Z
|
- ./volumes/postgres:/var/lib/postgresql/data:Z
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
|
|
Loading…
Reference in a new issue