Skip to main content

Secure connections

External access via TLS can be implemented with Traefik. The SSL certificates for the services are automatically created and maintained with Letsencrypt. Create a separate directory traefik next to spacetime and download the docker compose file.

mkdir traefik
cd traefik
curl -O https://raw.githubusercontent.com/axxem/spacetime/main/docker/traefik/docker-compose.yml

Specify your domain name in .env:

EMAIL = info@mydomain.com
DOMAIN = mydomain.com

Deploy the service:

docker compose up -d

The certificates will be created and stored in a letsencrypt subdirectory. This may take some time. Connect using the domain name without ports.

https://portal.mydomain.com