lemmy/docs/src/contributing_docker_develop...

27 lines
625 B
Markdown
Raw Normal View History

2020-02-06 16:26:11 +00:00
# Docker Development
## Running
```bash
2020-06-12 13:29:50 +00:00
sudo apt install git docker-compose
git clone https://github.com/LemmyNet/lemmy
cd lemmy/docker/dev
2020-06-12 13:29:50 +00:00
sudo docker-compose up --no-deps --build
```
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`.
2020-06-12 13:29:50 +00:00
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](contributing_local_development.md) instead.