-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
38 lines (38 loc) · 1.05 KB
/
docker-compose.yaml
File metadata and controls
38 lines (38 loc) · 1.05 KB
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
services:
# Do not remove, used by pallet validation
kubernetes-devtools:
build:
context: devtools
target: kubernetes-devtools
dockerfile: Dockerfile
privileged: false
command: validate
security_opt:
- seccomp:unconfined
- apparmor:unconfined
volumes:
- .:/srv/workspace:z
- $HOME/.argocd:/root/.config/argocd
techdocs:
build:
context: devtools
dockerfile: Dockerfile
target: techdocs
working_dir: /srv/workspace
environment:
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS:-}
GCLOUD_PROJECT: ${GCLOUD_PROJECT:-}
volumes:
- .:/srv/workspace:z
- ${XDG_CACHE_HOME:-xdg-cache-home}:/root/.cache
- $HOME/.config/gcloud:/root/.config/gcloud
- ${GOOGLE_APPLICATION_CREDENTIALS:-nothing}:${GOOGLE_APPLICATION_CREDENTIALS:-/tmp/empty-GOOGLE_APPLICATION_CREDENTIALS}
ports:
- "127.0.0.1:3000:3000/tcp"
- "127.0.0.1:8000:8000/tcp"
command: serve
networks:
default:
volumes:
xdg-cache-home: {}
nothing: {}