ftest-control/targets/gotosocial/docker-compose.yaml

36 lines
897 B
YAML
Raw Normal View History

2023-10-01 18:54:47 +05:30
version: "3.3"
services:
gotosocial:
image: forgeflux/ftest-control-gotosocial:latest
container_name: gotosocial
user: 1001:1001
2023-10-01 20:05:35 +05:30
command:
2023-10-01 18:54:47 +05:30
- "/bin/sh"
- -ecx
- |
/gotosocial/gotosocial --config-path /gotosocial/config/config.yaml \
admin account create \
--username some_username \
--email someone@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:8080"
volumes:
- ./data/config:/gotosocial/config
networks:
ftest:
name: ftest
external: true