47 lines
709 B
Markdown
47 lines
709 B
Markdown
# VPS
|
|
|
|
- IP: 135.125.232.253
|
|
- OS: Ubuntu 26.04 LTS
|
|
- Default user: ubuntu
|
|
|
|
# Manual steps
|
|
|
|
Copy ssh key: `ssh-copy-id ubuntu@135.125.232.2`
|
|
|
|
# DNS - Namecheap
|
|
|
|
Custom DNS
|
|
|
|
- dilbert.ns.cloudflare.com
|
|
- virginia.ns.cloudflare.com
|
|
|
|
# DNS - Cloudlflare
|
|
|
|
| Name | Type | Content | TTL |
|
|
| --- | --- | --- | --- |
|
|
| `*.bnb1.net` | A | 135.125.232.253 | Auto|
|
|
|
|
# Ansible
|
|
|
|
```bash
|
|
cd ansible && ansible-playbook docker.yml
|
|
```
|
|
|
|
# Treafik
|
|
|
|
## Create Cloudflare API Token
|
|
|
|
Profile -> API Tokens -> Create Token -> Edit Zone DNS Template -> Select domain in Zone Resources -> Continue to summary
|
|
|
|
Add to `traefik/.env`.
|
|
|
|
## Sync files
|
|
|
|
`./sync-files.sh`
|
|
|
|
## Run
|
|
|
|
```sh
|
|
cd $HOME/compose/traefik
|
|
docker compose up -d
|
|
``` |