From c06e76f32f2a7c42ac94978a9287b55d9b76e5ae Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Fri, 17 Feb 2023 21:28:14 +0900 Subject: [PATCH] =?UTF-8?q?fix!:=20storage=E4=BB=A5=E5=A4=96=E6=B0=B8?= =?UTF-8?q?=E7=B6=9A=E5=8C=96=E3=81=97=E3=81=AA=E3=81=84=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compose.yml | 4 +++- etc/gotosocial/config.yaml | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) 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