Update taskserver to new domain

This commit is contained in:
Florent Guiotte 2023-04-12 16:55:29 +02:00
parent 3fa033c1a9
commit 65884a346a
3 changed files with 8 additions and 2 deletions

View File

@ -186,7 +186,7 @@ services:
taskserver:
build: taskserver
container_name: taskserver
hostname: a.guiotte.fr
hostname: dm.guiotte.fr
restart: always
environment:
- PUID=1000

View File

@ -6,11 +6,17 @@ Written with the help of
## Certs renewal
*do we need to remove volumes?:*
```shell
docker volume rm docker_taskserver-certs docker_taskserver-data
```
Once a year recreate the container and copy the `client_certs` dir! On
the client:
```shell
scp -r florent@a.guiotte.fr:~/docker/taskserver/client_certs/* ~/.config/task/certs
scp -r florent@dm.guiotte.fr:~/docker/taskserver/client_certs/* ~/.config/task/certs
task config taskd.credentials -- watch/user/$(cat ~/.config/task/certs/user-uuid)
task sync init
```

Binary file not shown.