REVA-QCAV/.devcontainer/docker-compose.yml
Laurent Fainsin 8959b99947 feat: YAY, working devcontainers
Former-commit-id: d8d73b022405033c85e4c70645f1e73a388ded9d [formerly 644d6ccb89271e4ae024ddf2151e6ce3df7fdba6]
Former-commit-id: e1097534f05dddef9e6473112ff558c5df2a8001
2022-09-13 11:06:06 +02:00

31 lines
555 B
YAML

version: "3"
services:
# wandb dashboard
wandb:
hostname: wandb-local
container_name: wandb-local
image: wandb/local
volumes:
- ./wandb-local/:/vol
ports:
- 8080:8080
restart: unless-stopped
# development container
dev:
container_name: dev
build:
context: .
dockerfile: Dockerfile
volumes:
- ..:/workspace
stdin_open: true
network_mode: service:wandb
deploy:
resources:
reservations:
devices:
- capabilities:
- gpu