version: '3.8'
services:
  wsmud:
    build: .
    image: wsmud:latest
    ports:
      - "80:80"
      - "4000:4000" # optional websocket port mapping if used
    environment:
      - WEB_PORT=80
      - WS_PORT=4000
      - MD5_PREFIX=change_me
      - DESIV=change_me
      - SESSION_SECRET=change_me
    volumes:
      - ./data:/app/data
      - ./log:/app/log
      - ./www:/app/www
    restart: unless-stopped
