HI all,
I have set up kopia via docker / portainer:
version: "3.7"
services:
kopia:
image: kopia/kopia:latest
hostname: kopia
container_name: kopia
restart: unless-stopped
ports:
- 51515:51515
environment:
- KOPIA_PASSWORD=${KOPIA_REPOSITORY_PASSWORD}
volumes:
# Mount local folders needed by kopia
- /volume1/docker/kopia/config:/app/config
- /volume1/docker/kopia/cache:/app/cache
- /volume1/docker/kopia/logs:/app/logs
- /volume1/Backup:/backup
- /volume1/docker/kopia/export:/export
command:
- server
- start
- --tls-generate-cert-name=x.x.x.x
- --tls-cert-file=/app/config/my.cert
- --tls-key-file=/app/config/my.key
- --address=0.0.0.0:51515
- --server-username=${KOPIA_USER}
- --server-password=${KOPIA_USER_PASSWORD}
Using - --tls-generate-cert works, e.g. certificates are generated and the fingerprint is shown in the log. However this will bind the certificate to 127.0.0.1
But when using - --tls-generate-cert-name=x.x.x.x, I simply get this and nothing is generated:
Server will allow connections from users whose accounts are stored in the repository.
User accounts can be added using ‘kopia server user add’.
ERROR TLS not configured. To start server without encryption pass --insecure
Any ideas what I’m doing wrong?