This is a configuration file
version: '3'
services:
cockroachdb:
image: cockroachdb/cockroach:v1.0.1
command: start --insecure --store=attrs=ssd,path=/var/lib/cockroach/
restart: always
volumes:
- data:/var/lib/cockroach
expose:
- "8080"
- "26257"
ports:
- "26257:26257"
- "8080:8080"
nakama:
image: heroiclabs/nakama:latest
entrypoint:
- /bin/bash
- -ecx
- /nakama/nakama migrate up --db "root@cockroachdb:26257" && /nakama/nakama --db "root@cockroachdb:26257"
restart: always
links:
- "cockroachdb:db"
depends_on:
- cockroachdb
volumes:
- data:/var/lib/nakama
expose:
- "7350"
- "7351"
ports:
- "7350:7350"
- "7351:7351"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7350/"]
interval: 10s
timeout: 5s
retries: 5
volumes:
data:
After up started, I checked
My question: should the source here be the directory of windows10 hyper-v? How do you want to visit?
Thank you for inviting:
This is the directory of boot2docker virtual machine. This directory is not hyper-v, you can use ` ` docker-machine ssh default ` ` to enter the host to view it.