Cody
Portainer Stack
Cody is a collaborative markdown editor that can be run using Docker. It is based on the HackMD project and allows multiple users to edit documents in real-time.
Ref:
services:
codimd:
image: 'hackmdio/hackmd:2.5.4'
hostname: codimd
container_name: Codimd
restart: 'always'
environment:
- CMD_DB_URL=postgres://codimd:thepassword@Codimd-DB/codimd
- CMD_USECDN=false
volumes:
- './codimd/uploads:/home/hackmd/app/public/uploads'
ports:
- '3000:3000'
codimd-db:
image: 'postgres:14-alpine'
hostname: codimd-db
container_name: Codimd-DB
restart: 'always'
environment:
- POSTGRES_DB=codimd
- POSTGRES_USER=codimd
- POSTGRES_PASSWORD=thepassword
volumes:
- './codimd/db-data:/var/lib/postgresql/data'