documentation/docs/docker.md

17 lines
519 B
Markdown
Raw Normal View History

# 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:
```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
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`).