37 lines
850 B
Markdown
37 lines
850 B
Markdown
# Docker
|
|
|
|
## Dependencies
|
|
|
|
- `git-crypt`
|
|
|
|
## Setup
|
|
|
|
Once DNS are properly setup on host:
|
|
|
|
1. Create OVH token : <https://www.ovh.com/auth/api/createToken>
|
|
+ `Get *`, `Put *`, ...
|
|
2. Paste token in `swag/dns-conf/ovh.ini`
|
|
|
|
### Services
|
|
|
|
#### Flood
|
|
|
|
- Socket: `/config/.local/share/rtorrent/rtorrent.sock`
|
|
|
|
## Create a new service
|
|
|
|
1. Add the service in `docker-compose.yml`
|
|
2. Create the DynHost <https://www.ovh.com/manager/#/web/domain/guiotte.fr/dynhost>
|
|
3. Add the host in the DDclient configuration `./ddclient/ddclient.conf`
|
|
4. Add the nginx proxy configuration in `./swag/nginx/proxy-confs/`
|
|
5. Update the local zone in `./bind9/guiotte.db`
|
|
6. Restart `bind9` and `swag`: `dcc restart bind9 swag`
|
|
|
|
## Logs
|
|
|
|
2022-11-02 Created OVH token
|
|
2022-09-11 Created taskserver certs for 365 days
|
|
2022-06-29 Created OVH token for 30 days
|
|
|
|
|