---
version: "2"
services:
codimd:
image: linuxserver/codimd:version-1.7.0
container_name: codimd
restart: unless-stopped
environment:
- TZ=Europe/London # Specify a timezone to use EG Europe/London.
- PUID=1000 # for UserID
- PGID=1000 # for GroupID
- DB_USER=codimd # Database user
- DB_PORT=3306 # Port to access mysql database default is 3306
- DB_PASS= # Database password
- DB_NAME=codimd # Database name
- DB_HOST= # Host address of mysql database
volumes:
- /host/path/to/config:/config # CodiMD config and configurable files
ports:
- 3000:3000/tcp # If you wish to access this container from http://{IP}:${PORT}` this must be left unchanged.