add GoToSocial in a draft state
does not federate properly see #3 (comment)
This commit is contained in:
parent
7260b2bed8
commit
6d4c031fb6
4 changed files with 49 additions and 0 deletions
5
Dockerfile.gotosocial
Normal file
5
Dockerfile.gotosocial
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM superseriousbusiness/gotosocial:0.6.0
|
||||
USER root
|
||||
RUN apk add ca-certificates
|
||||
COPY ./minica.pem /usr/local/share/ca-certificates/minica.crt
|
||||
RUN update-ca-certificates
|
|
@ -157,6 +157,22 @@ services:
|
|||
healthcheck:
|
||||
test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"]
|
||||
|
||||
gotosocial:
|
||||
image: pubtester_gotosocial
|
||||
user: root:root
|
||||
environment:
|
||||
GTS_HOST: gts.pubtester.example.net
|
||||
GTS_DB_TYPE: sqlite
|
||||
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
|
||||
GTS_LETSENCRYPT_ENABLED: "false"
|
||||
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
|
||||
#GTS_TRUSTED_PROXIES: "172.x.x.x"
|
||||
ports:
|
||||
- '127.0.0.1:20720:8080'
|
||||
volumes:
|
||||
- ./data/gotosocial/storage:/gotosocial/storage:rw
|
||||
restart: "always"
|
||||
|
||||
# nginx reverse proxy configured for all instances
|
||||
nginx:
|
||||
image: nginx:1.23.1-alpine
|
||||
|
@ -165,6 +181,7 @@ services:
|
|||
aliases:
|
||||
- pleroma.pubtester.example.net
|
||||
- pleroma2.pubtester.example.net
|
||||
- gts.pubtester.example.net
|
||||
volumes:
|
||||
- ./files/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./pubtester.example.net/cert.pem:/etc/nginx/cert.pem:ro
|
||||
|
@ -176,3 +193,4 @@ services:
|
|||
#- mastodon_streaming
|
||||
- pleroma_web
|
||||
- pleroma2_web
|
||||
- gotosocial
|
||||
|
|
|
@ -114,4 +114,29 @@ http {
|
|||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
root /mnt/none;
|
||||
index index.html index.htm;
|
||||
|
||||
server_name gts.pubtester.example.net;
|
||||
|
||||
absolute_redirect off;
|
||||
server_name_in_redirect off;
|
||||
ssl_certificate /etc/nginx/cert.pem;
|
||||
ssl_certificate_key /etc/nginx/key.pem;
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://gotosocial:8080;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -16,3 +16,4 @@ docker-compose down
|
|||
|
||||
docker buildx build -t pleroma_selfbuilt -f ./Dockerfile.pleroma .
|
||||
docker buildx build -t pleroma_source_selfbuilt -f ./Dockerfile.pleroma-source .
|
||||
docker buildx build -t pubtester_gotosocial -f ./Dockerfile.gotosocial .
|
||||
|
|
Loading…
Reference in a new issue