---
services:
  onedev:
    image: 1dev/server:11.6.6
    container_name: onedev
    restart: always

    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock"
      - "onedev-data:/opt/onedev"
    
volumes:
  onedev-data: