Nexterm Docker Setup 
Create a docker-compose.yaml file with the following content:
services:
nexterm:
container_name: nexterm
image: germannewsmaker/nexterm:latest # Specifies the Docker image for Nexterm.
ports:
- "0.0.0.0:6989:6989" # Exposes port 6989 for accessing Nexterm's interface.
restart: always # Ensures the container restarts automatically if stopped.
volumes:
- nexterm:/app/data # Stores Nexterm's data persistently.
#environment:
#- PUBLIC_URL=https://nexterm.mlmp.ti.bfh.ch
env_file:
- ../.env
volumes:
nexterm:
external: true
name: nexterm
networks:
nexterm_net:
driver: bridge
The .env file contains a secret key that belongs to Nexterm. If this file does not yet exist please create it.
For the volume part, the volume is manually created so we can re-create the same configuration across different instances. To know how to restore volumes refer to Litellm Docker Compose Stack - Restore section. (Do this before first running the docker compose file)