Skip to content

Commit

Permalink
More updates
Browse files Browse the repository at this point in the history
  • Loading branch information
allouis committed Jul 4, 2024
1 parent c2b951e commit d110aba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ FROM node:lts-alpine

WORKDIR /opt/activitypub

COPY .eslintrc.js .
COPY tsconfig.json .

COPY package.json .
COPY yarn.lock .

RUN yarn

COPY tsconfig.json .

COPY src ./src

EXPOSE 8080
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Project Overview

**ActivityPub V3 Final** is a multitenant ActivityPub service built using the Fedify framework. This service is designed to integrate seamlessly with the Ghost blogging platform, enabling ActivityPub functionality such as follow requests and publish requests. Ghost communicates with this service to manage all ActivityPub data.
**ActivityPub V3 Final** is a multitenant ActivityPub service built using the Fedify framework. This service is designed to integrate seamlessly with the Ghost blogging platform, enabling ActivityPub functionality such as follow requests and publishing to the fediverse. Ghost communicates with this service to manage all ActivityPub data.

**Note:** This project is intended for development use only and is not suitable for production environments.
**Note:** ⚠️ This project is intended for development use only and is not suitable for production environments.

## How It Works

Expand All @@ -22,8 +22,7 @@ The service integrates with Ghost by sitting in front of Ghost and intercepting

## Running Locally / Development

To run this service, you need `docker` installed - this has only been tested on MacOS using Docker for Mac and OrbStack.

You need `docker` installed - this has only been tested on MacOS using Docker for Mac and OrbStack.

### Setup Steps

Expand Down
6 changes: 3 additions & 3 deletions nginx/server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ server {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto https;

proxy_pass http://activitypub:8080;
}
Expand All @@ -12,7 +12,7 @@ server {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto https;

proxy_pass http://activitypub:8080;
}
Expand All @@ -21,7 +21,7 @@ server {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto https;

proxy_pass http://host.docker.internal:2368;
}
Expand Down

0 comments on commit d110aba

Please sign in to comment.