36 lines
885 B
YAML
36 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
|