forked from brilliantlabsAR/frame-codebase
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 825 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (33 loc) · 825 Bytes
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
version: "3.9"
services:
devcontainer:
platform: linux/amd64
build:
context: .
target: devcontainer
volumes:
- ..:/workspaces
- command-history-volume:/home/ubuntu/.history/
dev:
extends: devcontainer
stdin_open: true
tty: true
entrypoint: []
command:
[
"sh",
"-c",
"sudo chown ubuntu $$SSH_AUTH_SOCK && mkdir -p /workspaces/frame-codebase/.git/hooks/ && zsh"
]
environment:
- SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock
ports:
- "8000"
volumes:
- ~/.gitconfig:/etc/gitconfig
- ~/.ssh/known_hosts:/home/ubuntu/.ssh/known_hosts
- ${SSH_AGENT_AUTH_SOCK:-/run/host-services/ssh-auth.sock}:/run/host-services/ssh-auth.sock
profiles:
- dev
volumes:
command-history-volume: