ftest-control/targets/gotosocial/docker-compose.yaml
Aravinth Manivannan a579f02241 feat: add GoToSocial (#1)
Test GoToSocial for:

1. Nodeinfo
2. Webfinger
3. ActivityPub (basic)

Reviewed-on: #1
2023-10-02 13:47:58 +05:30

35 lines
885 B
YAML

version: "3.3"
services:
gotosocial:
image: forgeflux/ftest-gotosocial-wrapper:latest
container_name: gotosocial
user: 1001:1001
command:
- "/bin/sh"
- -ecx
- |
/gotosocial/gotosocial --config-path /gotosocial/config/config.yaml \
admin account create \
--username alice \
--email alice@example.org \
--password 'some_very_good_password'
/gotosocial/gotosocial --config-path /gotosocial/config/config.yaml \
server start
networks:
- ftest
environment:
GTS_DB_TYPE: sqlite
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
GTS_LETSENCRYPT_ENABLED: "false"
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
TZ: Asia/Kolkata
ports:
- "3080:80"
volumes:
- ./data/config:/gotosocial/config
networks:
ftest:
name: ftest
external: true