forked from matrix-org/complement
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (40 loc) · 862 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (40 loc) · 862 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
38
39
40
services:
registry:
image: docker.io/library/registry:2
volumes:
- registry:/var/lib/registry/
dind:
depends_on:
- registry
image: complement-dind
build:
dockerfile: dockerfiles/dind.Dockerfile
privileged: true
entrypoint: dockerd
command:
- --tls=false
- --host=tcp://0.0.0.0:2375
- --storage-driver=overlay2
- --insecure-registry=registry:5000
volumes:
- dind-cache:/var/lib/docker
- complement:/root/complement
complement:
depends_on:
- dind
profiles:
- complement
image: complement
build:
dockerfile: dockerfiles/complement.Dockerfile
environment:
- DOCKER_HOST=tcp://dind:2375
volumes:
- complement:/root/complement
networks:
default:
name: complement
volumes:
registry:
dind-cache:
complement: