# docker build files
docker/lemmy_mine.hjson
docker/dev/env_deploy.sh
-docker/federation-test/volumes
+docker/federation/volumes
docker/dev/volumes
# local build files
restart: "always"
lemmy_alpha:
- image: lemmy-federation-test:latest
+ image: lemmy-federation:latest
environment:
- LEMMY_HOSTNAME=lemmy_alpha:8540
- LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_alpha:5432/lemmy
restart: always
lemmy_beta:
- image: lemmy-federation-test:latest
+ image: lemmy-federation:latest
environment:
- LEMMY_HOSTNAME=lemmy_beta:8550
- LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_beta:5432/lemmy
cargo build
popd || exit
-sudo docker build ../../ -f Dockerfile -t lemmy-federation-test:latest
+sudo docker build ../../ -f Dockerfile -t lemmy-federation:latest
sudo docker-compose up
\ No newline at end of file
-use crate::apub::puller::{fetch_remote_object, fetch_remote_user};
+use crate::apub::fetcher::{fetch_remote_object, fetch_remote_user};
use crate::apub::*;
use crate::db::community::{Community, CommunityForm};
use crate::db::community_view::CommunityFollowerView;
pub mod activities;
pub mod community;
+pub mod fetcher;
pub mod inbox;
pub mod post;
-pub mod puller;
pub mod user;
use crate::Settings;
use openssl::{pkey::PKey, rsa::Rsa};
-use crate::apub::puller::{fetch_remote_community, fetch_remote_user};
+use crate::apub::fetcher::{fetch_remote_community, fetch_remote_user};
use crate::apub::{create_apub_response, make_apub_endpoint, EndpointType};
use crate::convert_datetime;
use crate::db::community::Community;
use diesel::r2d2::{ConnectionManager, Pool};
use diesel::PgConnection;
use failure::Error;
-use lemmy_server::apub::puller::fetch_all;
+use lemmy_server::apub::fetcher::fetch_all;
use lemmy_server::db::code_migrations::run_advanced_migrations;
use lemmy_server::routes::{api, federation, feeds, index, nodeinfo, webfinger, websocket};
use lemmy_server::settings::Settings;