| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository has been deprecated. Please use our online documentation instead:
https://hackmd.io/c/codimd-documentation/%2Fs%2Fcodimd-docker-deployment
Debian based version:
Alpine based version:
See more here: https://docs.docker.com/
Start your docker and enter the terminal, follow below commands:
cd docker-hackmd ## enter the directory
git pull ## pull new commits
docker-compose pull ## pull new containers
docker-compose up ## turn onWe don't use LZString to compress socket.io data and DB data after version 0.5.0. Please run the migration tool if you're upgrading from the old version.
Start your docker and enter the terminal, follow below commands:
docker-compose exec database pg_dump hackmd -U hackmd > backup.sqlSimilar to backup steps, but last command is
cat backup.sql | docker exec -i $(docker-compose ps -q database) psql -U hackmdTo install use helm install stable/hackmd.
For all further details, please check out the offical HackMD K8s helm chart.
The default setting would use pre-build docker image, if you want to build your own containers uncomment the build section in the docker-compose.yml and edit the config.json.
If you change the database settings and don't use the HMD_DB_URL make sure you edit the .sequelizerc.
View license information for the software contained in this image.
This image is officially supported on Docker version 17.03.1-CE.
Support for older versions (down to 1.12) is provided on a best-effort basis.
Please see the Docker installation documentation for details on how to upgrade your Docker daemon.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You can also reach many of the project maintainers via the hackmd channel on Gitter.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Happy HackMD 😄
| Back | FazBrowse Home | New Git URL |