Modify the server address

Themis is launched with a SERVER_HOST environment variable that defines the server address where the Docker container is. By default, this environment variable is "localhost". If you wish to launch Themis on a VM or a remote server, one should modify the value of this one by indicating the corresponding IP. If Themis is already launched when you do this modification, relaunch it with the docker-compose up -d command so that these modifications would be taken into account.


themis:
    image: themis-registry.promyze.com/themis
    container_name : themis-container
    depends_on:
      - mongodb
    environment :
      - WEB_SOCKET_PORT=3000
- SERVER_HOST=localhost
- SERVER_PORT=3001 ports: - 3000:3000 - 3001:3001 volumes_from: - dataonly

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.