35 lines
897 B
YAML
35 lines
897 B
YAML
version: "3.3"
|
|
|
|
services:
|
|
gotosocial:
|
|
image: forgeflux/ftest-control-gotosocial:latest
|
|
container_name: gotosocial
|
|
user: 1001:1001
|
|
command:
|
|
- "/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
|