Without any customization, you can just run:
bash tanatloc.sh startThe server will start with a default user:
- email:
admin - password:
password
bash tanatloc.sh start
Start Tanatloc
bash tanatloc.sh stop
Stop Tanatloc
bash tanatloc.sh update-self
Update Tanatloc deployment script
bash tanatloc.sh update
Update Tanatloc with the latest docker
bash tanatloc.sh clean
Clean old docker images (tanatloc, postgres, nginx)
bash tanatloc.sh renew certificate
Renew the SSL certificate
bash tanatloc.sh log
Print Tanatloc log
Default: latest
bash tanatloc.sh set tanatloc_tag latest
Set the Tanatloc docker tag to use
Default: password
bash tanatloc.sh set database_password password
Set the database password
Default: /media/tanatloc-backup/database
bash tanatloc.sh set database_backup /media/tanatloc-backup/database
Set the database backup path. You must specify an absolute path
:warning Warning: that does not activate the automatic backup systemDefault: Empty
bash tanatloc.sh set domain https://domain.com
Set the server domain
If the domain name starts with https, an SSL certificate will be build using certbot
If you want to renew the certificate, use bash tanatloc.sh renew certificate
Default: 80
bash tanatloc.sh set http_port 80
Set the HTTP port
Default: 443
bash tanatloc.sh set https_port 443
Set the HTTPS port
Default: Empty
bash tanatloc.sh set http_proxy htpps://my.proxy
Set the HTTP proxy
Default: Empty
bash tanatloc.sh set https_proxy htpps://my.proxy
Set the HTTPS proxy
Default: Docker volume
bash tanatloc.sh set storage /absolute/path
Set the storage path. You must specify an absolute path
Default: /media/tanatloc-backup/storage
bash tanatloc.sh set storage_backup /media/tanatloc-backup/storage
Set the storage backup path. You must specify an absolute path
:warning Warning: that does not activate the automatic backup systemDefault: Empty
bash tanatloc.sh set additional_path /usr/local/bin
Add paths to $PATH environement variable
Default: Empty
bash tanatloc.sh set sharetask_jvm /usr/local/bin/java
Set the SHARETASK_JVM environment variable
Default: None
bash tanatloc.sh add volume bind /source/path /target/path
Add volume to Tanatloc service
:warning Warning: you can only add volumes, to remove or edit it you must edit the docker-compose.volumes.yml filebash tanatloc.sh database backup
Make a database backup
bash tanatloc.sh database run
Run the database docker
For docker volume only
bash tanatloc.sh data backup
Make a storage backup
bash tanatloc.sh data run
Run the storage volume
:warning Warning: that only works if you keep the storage in a docker volumecron scripts are available in scripts/cron_*.sh for:
- start Tanatloc at system startup
- automatically backup database and storage
- automatically renew the SSL certificate
Have a look on example cron script
Add additional path value:
bash tanatloc.sh set additional_path /usr/local/sharetask/binSet SHARETASK_JVM:
bash tanatloc.sh set sharetask_jvm /usr/local/jre/bin/javaAdd volume bind:
bash tanatloc.sh add volume bind /path/to/sharetask/bin /usr/local/sharetask/bin
bash tanatloc.sh add volume bind /path/to/java/bin /usr/local/jre/bin