Clone
13
Docker
Karmaa edited this page 2025-06-18 01:41:12 -05:00

Docker CLI

docker volume create termix-data
docker run -d \
  --name termix \
  --restart unless-stopped \
  -p 8080:8080 \
  -v termix-data:/app/data \
  -e SALT="replace_me" \
  -e PORT=8080 \
  ghcr.io/lukegus/termix:latest

Docker Compose

services:
  termix:
    image: ghcr.io/lukegus/termix:latest
    container_name: termix
    restart: unless-stopped
    ports:
      - "8080:8080"
    volumes:
      - termix-data:/app/data
    environment:
      # Generate random salt here https://www.lastpass.com/features/password-generator (max 32 characters, include all characters for settings)
      SALT: "replace_me"
      PORT: "8080"

volumes:
  termix-data:
    driver: local

Read through the compose file and make changes according to the comments and environment variables. To start the container, run:

docker-compose up -d