Pre-built Docker image

This commit is contained in:
DarkCat09 2023-09-25 12:59:11 +04:00
parent a978a32255
commit 336c420df1
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -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`).