-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.dev.yml
58 lines (58 loc) · 1.26 KB
/
docker-compose.dev.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
55
56
57
58
version: '3'
services:
web:
build:
context: .
dockerfile: Dockerfile
env_file:
- ".env"
environment:
DOCKER_HOST: tcp://docker:2375
REGISTRY: registry:5000
RUNNER_TYPE: docker
REPROSERVER_DEBUG: "1"
ports:
- 8000:8000
volumes:
- ./reproserver:/usr/src/app/reproserver
proxy:
build:
context: .
dockerfile: Dockerfile
env_file:
- ".env"
ports:
- 8001:8001
command:
- "reproserver-docker-proxy"
minio:
image: minio/minio:RELEASE.2021-04-06T23-11-00Z
command: ["server", "/export"]
environment:
MINIO_ACCESS_KEY: ${S3_KEY}
MINIO_SECRET_KEY: ${S3_SECRET}
healthcheck:
disable: true
ports:
- 9000:9000
registry:
image: registry:2.7
ports:
- 5000:5000
postgres:
image: postgres:12.6
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- 5432:5432
docker:
image: docker:20.10.7-dind
privileged: true
command:
- "dockerd"
- "--host=tcp://0.0.0.0:2375"
- "--storage-driver=overlay2"
- "--userns-remap=default"
- "--insecure-registry=registry:5000"