forked from RedHatInsights/patchman-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
81 lines (73 loc) · 1.5 KB
/
docker-compose.yml
File metadata and controls
81 lines (73 loc) · 1.5 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: '3'
services:
db:
image: postgres:10.0-alpine
ports:
- 5432:5432
environment:
POSTGRES_DB: app
POSTGRES_USER: admin
POSTGRES_PASSWORD: passwd
volumes:
- ./database/schema.sql:/docker-entrypoint-initdb.d/schema.sql
security_opt:
- label=disable
platform:
build:
context: .
dockerfile: platform/Dockerfile
restart: unless-stopped
depends_on:
- db
ports:
- 9092:9092
volumes:
- ./data:/data:z
env_file:
- ./conf/common.env
security_opt:
- label=disable
ab:
build:
context: apache-benchmark
command: ab -n 100 -c 10 go:8080/hosts/1
python:
build:
context: .
dockerfile: ./prototypes/py/Dockerfile
depends_on:
- db
- platform
image: spm/prototype-py:latest
restart: unless-stopped
ports:
- 8081:8081
volumes:
- ./data:/data:z
env_file:
- ./conf/common.env
security_opt:
- label=disable
go:
build:
context: ./prototypes/go
dockerfile: Dockerfile
environment:
GOPATH: /go
PRIVATE_API_USER: admin
PRIVATE_API_PASSWD: passwd
GIN_MODE: release
LOG_LEVEL: debug
LOG_STYLE: json
env_file:
- ./conf/common.env
volumes:
- ./prototypes/go/app:/go/src/gin-container/app
command: go run -v main.go --listener
ports:
- 8080:8080
depends_on:
- db
- platform
security_opt:
- label=disable