| 1 |
version: "3.4" |
| 2 |
services: |
| 3 |
store_demo: |
| 4 |
build: |
| 5 |
context: ../../ |
| 6 |
target: podman-base |
| 7 |
args: |
| 8 |
NO_PROXY: "${NO_PROXY}" |
| 9 |
HTTP_PROXY: "${HTTP_PROXY}" |
| 10 |
HTTPS_PROXY: "${HTTPS_PROXY}" |
| 11 |
http_proxy: "${http_proxy}" |
| 12 |
https_proxy: "${https_proxy}" |
| 13 |
container_name: store_demo |
| 14 |
privileged: true |
| 15 |
stdin_open: true |
| 16 |
tty: true |
| 17 |
working_dir: /go/src/github.com/containerd/stargz-snapshotter |
| 18 |
entrypoint: /bin/bash |
| 19 |
environment: |
| 20 |
- NO_PROXY=127.0.0.1,localhost,registry2-store:5000 |
| 21 |
- HTTP_PROXY=${HTTP_PROXY} |
| 22 |
- HTTPS_PROXY=${HTTPS_PROXY} |
| 23 |
- http_proxy=${http_proxy} |
| 24 |
- https_proxy=${https_proxy} |
| 25 |
- GOPATH=/go |
| 26 |
tmpfs: |
| 27 |
- /tmp:exec,mode=777 |
| 28 |
volumes: |
| 29 |
- /dev/fuse:/dev/fuse |
| 30 |
- "${GOPATH}/src/github.com/containerd/stargz-snapshotter:/go/src/github.com/containerd/stargz-snapshotter:ro" |
| 31 |
- "containers-data:/var/lib/containers" |
| 32 |
- "additional-store-data:/var/lib/stargz-store" |
| 33 |
registry2: |
| 34 |
image: registry:2 |
| 35 |
container_name: registry2-store |
| 36 |
environment: |
| 37 |
- HTTP_PROXY=${HTTP_PROXY} |
| 38 |
- HTTPS_PROXY=${HTTPS_PROXY} |
| 39 |
- http_proxy=${http_proxy} |
| 40 |
- https_proxy=${https_proxy} |
| 41 |
volumes: |
| 42 |
containers-data: |
| 43 |
additional-store-data: |