diff --git a/compose.yml b/compose.yml index 99047fc..c61cd62 100644 --- a/compose.yml +++ b/compose.yml @@ -35,11 +35,13 @@ services: expose: ["8080"] environment: GTS_HOST: fogtype.com + GTS_DB_TYPE: sqlite + GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db GTS_TRUSTED_PROXIES: 172.30.0.0/24 volumes: - /usr/share/zoneinfo/Asia/Tokyo:/etc/localtime:ro - ./etc/gotosocial:/etc/gotosocial - - gotosocial_data:/gotosocial + - gotosocial_data:/gotosocial/storage command: "--config-path /etc/gotosocial/config.yaml" networks: - fogtype diff --git a/etc/gotosocial/config.yaml b/etc/gotosocial/config.yaml index 1c4540f..13f00ae 100644 --- a/etc/gotosocial/config.yaml +++ b/etc/gotosocial/config.yaml @@ -1,4 +1,2 @@ -db-type: sqlite -db-address: sqlite.db accounts-registration-open: false instance-expose-public-timeline: true