-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
42 lines (37 loc) · 912 Bytes
/
docker-compose.yaml
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
version: '2.1'
volumes:
db:
registry:
tls:
services:
db:
image: postgres
hostname: db
ports:
- 7432:5432
environment:
- POSTGRES_DB=flagstate
- POSTGRES_USER=flagstate
- POSTGRES_PASSWORD=mypassword
volumes:
- db:/var/lib/postgresql/data:z
registry:
image: docker.io/owtaylor/registry-oci:latest
ports:
- 7000:5000
volumes:
- registry:/var/lib/registry:z
- ./services/registry/config.yml:/etc/docker/registry/config.yml:z
index:
build: .
hostname: index
ports:
- 8088:8088
frontend:
build: services/frontend
ports:
- 7080:80
- 7443:443
volumes:
- ${TEST_DATA:-./test-data}:/mnt/test-data:z
- tls:/etc/pki/tls:z