mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
667 B
667 B
Docker Development
Dependencies (on Ubuntu)
sudo apt install git docker-compose
sudo systemctl start docker
git clone https://github.com/LemmyNet/lemmy
Running
cd docker/dev
./docker_update.sh
and go to http://localhost:1235.
*Note: many features (like docs and pictures) will not work without using an nginx profile like that in ansible/templates/nginx.conf
.
To speed up the Docker compile, add the following to /etc/docker/daemon.json
and restart Docker.
{
"features": {
"buildkit": true
}
}
If the build is still too slow, you will have to use a local build instead.