Skip to content

caohuanlin/mdcx

Repository files navigation

mdcx-docker

🐳 A docker image to run MDCX in one step.

Docker

docker run -d \
  -e DISPLAY_WIDTH=1080 \
  -e DISPLAY_HEIGHT=1920 \
  -e VNC_PASSWORD=1234 \
  --name mdcx \
  --restart unless-stopped \
  -p 5800:5800 \
  -p 5900:5900 \
  -v /path/to/data1:/data1 \
  -v /path/to/data2:/data2 \
  -v $(PWD)/config.ini:/app/config.ini
  ghcr.io/gythialy/mdcx:latest

Docker-compose

version: '3'

services:
  mdcx:
    image: ghcr.io/gythialy/mdcx:latest
    container_name: mdcx
    volumes:
      - /path/to/data1:/data1
      - /path/to/data2:/data2
      - ./config.ini:/app/config.ini
    environment:
      - DISPLAY_HEIGHT=1920
      - DISPLAY_WIDTH=1080
      - VNC_PASSWORD=1234
    ports:
      - 5800:5800
      - 5900:5900
    restart: unless-stopped
    network_mode: bridge
    stdin_open: true

使用

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published