version: "3.2" services: cockroach: image: cockroachdb/cockroach:latest volumes: - ./cockroach1:/cockroach/cockroach-data command: start-single-node --insecure --accept-sql-without-tls ports: - "26257:26257" - "8080:8080"