diff --git a/crates/db_schema/src/aggregates/structs.rs b/crates/db_schema/src/aggregates/structs.rs index 4dd57724c..0020ecab0 100644 --- a/crates/db_schema/src/aggregates/structs.rs +++ b/crates/db_schema/src/aggregates/structs.rs @@ -111,7 +111,6 @@ pub struct PostAggregates { /// A newest comment time, limited to 2 days, to prevent necrobumping pub newest_comment_time_necro: DateTime, /// The time of the newest comment in the post. - #[serde(skip)] pub newest_comment_time: DateTime, /// If the post is featured on the community. #[serde(skip)] diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 36b5e5500..00cb48a93 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -17,7 +17,7 @@ services: - "8536:8536" volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro,Z - restart: always + restart: unless-stopped depends_on: - pictrs - lemmy-ui @@ -38,7 +38,7 @@ services: # 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 hostname: lemmy - restart: always + restart: unless-stopped 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_BACKTRACE=full @@ -72,7 +72,7 @@ services: - LEMMY_UI_DEBUG=true depends_on: - lemmy - restart: always + restart: unless-stopped logging: *default-logging init: true @@ -95,7 +95,7 @@ services: user: 991:991 volumes: - ./volumes/pictrs:/mnt:Z - restart: always + restart: unless-stopped logging: *default-logging postgres: @@ -127,5 +127,5 @@ services: - POSTGRES_DB=lemmy volumes: - ./volumes/postgres:/var/lib/postgresql/data:Z - restart: always + restart: unless-stopped logging: *default-logging