Normally SeekTable installation subscriptions are activated automatically on the application start, when docker containers are started or re-started. This requires an internet connection to access an activation server (seektable.com).
In some cases online activation might be not possible (or undesired); for example, when SeekTable is used to access company's sensitive data and there should be a 100% guarantee that data doesn't leave company's VPN, and for this purpose an internet access may be restricted for SeekTable docker containers. No worries: it is still possible to activate subscriptions offline.
Activation remains simple if an internet access can be enabled temporarily (for a short time) to upgrade docker images and/or activate subscriptions for the deployment in a usual way. Activation keys returned by the activation server may be cached in the special docker volume, and after that an internet access may be switched off and SeekTable installation will use these cached keys on next restarts.
How to enable activation keys caching:
seektable:
image: seektable/seektable:latest
restart: always
expose:
- 5000
ports:
- 80:5000
volumes:
- csv-files-volume:/app-data/csv-files
- db-volume:/app-data/db
- activation-volume:/app/activation
env_file:
- docker-compose.seektable.env
volumes:
csv-files-volume:
db-volume:
activation-volume:
docker compose stop + docker compose up).
Now activation keys are cached in the volume and they will be used if online activation fails (for some reason) on the app restart.
Note that any re-creation of SeekTable containers changes a deployment footprint and invalidates cached keys.
How to activate subscriptions without an internet connection at all:
SeekTable_ST__InstallationOfflineActivation=true
docker compose stop + docker compose up)/var/lib/docker/volumes/activation-volume/_datadocker compose restart). In the containers' log you should see messages that confirm successful activation of subscriptions.