diff --git a/docs/install/docker.md b/docs/install/docker.md index 2c48b3f..4e5e2bd 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -1,3 +1,30 @@ # Docker -Deploy with Docker Compose \ No newline at end of file +The Docker method uses [Docker Compose][1] for a quick and easy installation. For a faster deployment, a pre-built image is pulled from [Docker Hub](https://hub.docker.com/r/tycrek/ass). + +## Requirements + +- Latest [Docker](https://docs.docker.com/engine/install/) +- [Docker Compose][1] v2 plugin + +[1]: https://docs.docker.com/compose/ + +## Install + +```bash +git clone -b dev/0.15.0 https://github.com/tycrek/ass.git +cd ass/ +docker compose up -d +``` + +### View logs + +Use the following command to view the container logs: + +```bash +docker compose logs -n --follow +``` + +## Build local image + +If you wish to build a Docker image locally for development, you can use the provided [docker-dev-container.sh](https://github.com/tycrek/ass/blob/dev/0.15.0/docker-dev-container.sh) script.