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

36 lines
885 B
YAML
Raw Normal View History

2023-10-01 18:54:47 +05:30
version: "3.3"
services:
gotosocial:
image: forgeflux/ftest-gotosocial-wrapper:latest
2023-10-01 18:54:47 +05:30
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 \
2023-10-02 12:53:24 +05:30
--username alice \
--email alice@example.org \
2023-10-01 18:54:47 +05:30
--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:
2023-10-02 12:53:24 +05:30
- "3080:80"
2023-10-01 18:54:47 +05:30
volumes:
- ./data/config:/gotosocial/config
networks:
ftest:
name: ftest
external: true