From 336c420df198015690155edce2786c2c299de35f Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Mon, 25 Sep 2023 12:59:11 +0400 Subject: [PATCH] Pre-built Docker image --- docs/docker.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/docs/docker.md b/docs/docker.md index 2b10a82..97b7f1a 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -2,17 +2,15 @@ If you prefer hosting without Docker, see [Self-Hosting](selfhost.md) instead. -Docker Engine and Docker Compose are required. - -Note that built images are not provided via Docker Hub. -If you can't or don't want to build them on your server -and don't want to setup a CI/CD system, -[let us know](https://github.com/txtdot/txtdot/issues), -we'll consider setting up a GitHub Actions workflow. - +Download docker-compose.yml and txtdot configs, +edit them and then start the container: ```bash -git clone https://github.com/txtdot/txtdot.git -cd txtdot -docker compose build +wget https://raw.githubusercontent.com/TxtDot/txtdot/main/docker-compose.yml +wget -O .env https://raw.githubusercontent.com/TxtDot/txtdot/main/.env.example +nano .env docker compose up -d ``` + +Alternatively, you can configure txtdot with +the `environment` section of docker-compose config +(don't forget to remove .env and `volumes`).