-
Notifications
You must be signed in to change notification settings - Fork 142
/
docker-compose.yml
54 lines (42 loc) · 1.47 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
version: "3.7"
services:
rover:
image: aztfmod/rover:1.7.4-2402.2908
user: vscode
labels:
- "caf=Azure CAF"
volumes:
- ..:/tf/caf
- volume-caf-vscode:/home/vscode
- volume-caf-vscode-bashhistory:/commandhistory
- ~/.ssh:/tmp/.ssh-localhost:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
- HISTFILE=/commandhistory/.bash_history
- HISTSIZE=1000
# Overrides default command so things don't shut down after the process ends.
command: /bin/sh -c "while sleep 1000; do :; done"
# rover_ssh:
# image: aztfmod/rover:1.1.6-2202.2503
# user: vscode
# labels:
# - "caf=Azure CAF"
# volumes:
# - ..:/tf/caf
# - volume-caf-vscode:/home/vscode
# - volume-caf-vscode-bashhistory:/commandhistory
# - ~/.ssh:/tmp/.ssh-localhost:ro
# - /var/run/docker.sock:/var/run/docker.sock
# environment:
# - HISTFILE=/commandhistory/.bash_history
# - HISTSIZE=1000
volumes:
volume-caf-vscode:
labels:
- "caf=Azure CAF"
volume-caf-vscode-bashhistory: