From 25f0a8f0b7ef4326f9403332ef5a74f813e049ee Mon Sep 17 00:00:00 2001 From: Alfin Auzikri Date: Thu, 4 Jul 2024 23:38:16 +0700 Subject: [PATCH 1/2] Create docmost.yaml --- templates/compose/docmost.yaml | 63 ++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 templates/compose/docmost.yaml diff --git a/templates/compose/docmost.yaml b/templates/compose/docmost.yaml new file mode 100644 index 000000000..348936fc8 --- /dev/null +++ b/templates/compose/docmost.yaml @@ -0,0 +1,63 @@ +# documentation: https://docmost.com/docs/ +# slogan: Open-source collaborative wiki and documentation software +# tags: documentation, opensource, wiki, confluence, knowledge-base, notion, realtime-collaboration, notion-alternative +# logo: svgs/docmost.png +# port: 3000 + +services: + docmost: + image: 'docmost/docmost:latest' + depends_on: + - db + - redis + environment: + - SERVICE_FQDN_DOCMOST_3000 + - APP_SECRET=$SERVICE_BASE64_APPKEY + - APP_URL=$SERVICE_FQDN_DOCMOST_3000 + - 'DATABASE_URL=postgresql://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@db/docmost?schema=public' + - 'REDIS_URL=redis://redis:6379' + restart: unless-stopped + volumes: + - 'docmost:/app/data/storage' + healthcheck: + test: + - CMD + - curl + - '-f' + - 'http://127.0.0.1:3000' + interval: 2s + timeout: 10s + retries: 30 + db: + image: 'postgres:16-alpine' + environment: + - POSTGRES_USER=$SERVICE_USER_POSTGRES + - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES + - POSTGRES_DB=docmost + restart: unless-stopped + volumes: + - 'db_data:/var/lib/postgresql/data' + healthcheck: + test: + - CMD-SHELL + - 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}' + interval: 5s + timeout: 20s + retries: 10 + redis: + image: 'redis:7.2-alpine' + restart: unless-stopped + volumes: + - 'redis_data:/data' + healthcheck: + test: + - CMD + - redis-cli + - PING + interval: 30s + timeout: 10s + retries: 5 +volumes: + docmost: null + db_data: null + redis_data: null From 0c40c0d795d60a0f15feb6134a7392a1943277cd Mon Sep 17 00:00:00 2001 From: Alfin Auzikri Date: Thu, 4 Jul 2024 23:38:52 +0700 Subject: [PATCH 2/2] Add files via upload --- public/svgs/docmost.png | Bin 0 -> 1350 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 public/svgs/docmost.png diff --git a/public/svgs/docmost.png b/public/svgs/docmost.png new file mode 100644 index 0000000000000000000000000000000000000000..ed049c7e6c70192fbb5ad15dadc3012a23c0bc11 GIT binary patch literal 1350 zcmeAS@N?(olHy`uVBq!ia0vp^CqS43NHBC5e{^DCVCD66aSW-L^JYf9&(*8a$M1h% z6n|9y`|1MLDQ2BAzC~KI{g!WS3Eh+yX#NYt)DgT_)l%nD|mTwZ+!iU%5%?co)^b` zpY!~V_1qnP3p&g+7V&mvG%MX2Fy;)QLbqdOzt``7`)TE8;r$CvCQoj$-2L!=+*u0= zO{F3wQ>*;KkdW(J&U7j$ep;Lw$f{sx%eG_hmwop(`WEKOe0SU1aJG*pV(k;I&FZ_= z3i8~Y_8iW$JbR^3*y8Ke7S{(Bic0$=m(ASs_|1fpP#Y6d1FgMF{HpZ#?GtHOzR5`c z@!YWb*pL4={5in?@7niwoIJahF7aFPH=u9tkC*<}zjuGB`*+3WPE2H~i(hEix~_F6 z5*Ex&i`y=EAS`}CT9(-Cy5-C7^R>r!9Za0KDt_&Y$GXjB-#=elAj^Ev$(!lJ|KfwY zcAJ!@u3+1|SldW|N6O`imI2tE|U|botC9Ux!eNUL*=?PlOGVf7SN^kh96eKTxW9GY+8G;j=G7omDFT7FwuV%}< z!|X~yIY-4^Rm8Xx%FAgcY7FbBuG_Hnh>e2wAL@j{Jw(zj^uEe%FF8}`c3|^uOo+X zf~JzM!^D}(Z#=zG66vz4Q8nIX4u{2Q*CTf#>}T(qy)&t*#PtwQgm~@Mj(KYxa*8#o zQbQ)*cz?+9@XP~+f*;Mc&;C%yaQuzB