Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 606 Bytes

README.md

File metadata and controls

38 lines (33 loc) · 606 Bytes

surgio

Surgio官网

Docker

docker run -dit \
  --name surgio \
  --restart unless-stopped \
  --hostname surgio \
  -v $PWD/surgio:/app \
  -p 3000:3000 \
  chiupam/surgio:latest

Docker-compose

cat > ./docker-compose.yml << EOF
version: "2.0"
services:
  surgio:
    image: chiupam/surgio:latest
    container_name: surgio
    restart: unless-stopped
    hostname: surgio
    volumes:
      - $PWD/surgio:/app
    ports:
      - 3000:3000
EOF
docker-compose up -d

初始化设置

docker exec -it surgio start.sh