2023-09-01 16:43:15 +04:00
|
|
|
# Docker
|
|
|
|
|
|
|
|
If you prefer hosting without Docker, see [Self-Hosting](selfhost.md) instead.
|
|
|
|
|
2023-09-25 12:59:11 +04:00
|
|
|
Download docker-compose.yml and txtdot configs,
|
|
|
|
edit them and then start the container:
|
2023-09-01 16:43:15 +04:00
|
|
|
```bash
|
2023-09-25 12:59:11 +04:00
|
|
|
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
|
2023-09-01 16:43:15 +04:00
|
|
|
docker compose up -d
|
|
|
|
```
|
2023-09-25 12:59:11 +04:00
|
|
|
|
|
|
|
Alternatively, you can configure txtdot with
|
|
|
|
the `environment` section of docker-compose config
|
|
|
|
(don't forget to remove .env and `volumes`).
|