-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
114 lines (107 loc) · 3.24 KB
/
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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
version: '3.8'
services:
db:
image: postgres:13
container_name: db
environment:
POSTGRES_USER: your_user
POSTGRES_PASSWORD: your_password
POSTGRES_DB: your_database
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
no-auth:
build: ./noauth
container_name: app-no-auth
environment:
DATABASE_HOST: db
DATABASE_PORT: 5432
DATABASE_USER: your_user
DATABASE_PASSWORD: your_password
DATABASE_NAME: your_database
DISABLE_KILL_ENDPOINT: ${DISABLE_KILL_ENDPOINT:-false}
DISABLE_RATE_LIMITING: ${DISABLE_RATE_LIMITING:-false}
DISABLE_REDOS: ${DISABLE_REDOS:-false}
DISABLE_CMD_INJECTION: ${DISABLE_CMD_INJECTION:-false}
DISABLE_HTTP2: ${DISABLE_HTTP2:-false}
DISABLE_HTTPS: ${DISABLE_HTTPS:-false}
DISABLE_LOGICAL_ORDER_ERROR: ${DISABLE_LOGICAL_ORDER_ERROR:-false}
ports:
- "3000:3000"
depends_on:
- db
basic-auth:
build: ./basicauth
container_name: app-basic-auth
environment:
DATABASE_HOST: db
DATABASE_PORT: 5432
DATABASE_USER: your_user
DATABASE_PASSWORD: your_password
DATABASE_NAME: your_database
DISABLE_KILL_ENDPOINT: ${DISABLE_KILL_ENDPOINT:-false}
DISABLE_RATE_LIMITING: ${DISABLE_RATE_LIMITING:-false}
DISABLE_REDOS: ${DISABLE_REDOS:-false}
DISABLE_CMD_INJECTION: ${DISABLE_CMD_INJECTION:-false}
DISABLE_HTTP2: ${DISABLE_HTTP2:-false}
DISABLE_HTTPS: ${DISABLE_HTTPS:-false}
DISABLE_LOGICAL_ORDER_ERROR: ${DISABLE_LOGICAL_ORDER_ERROR:-false}
ports:
- "3000:3000"
depends_on:
- db
jwt-auth:
build: ./jwtauth
container_name: app-jwt-auth
environment:
DATABASE_HOST: db
DATABASE_PORT: 5432
DATABASE_USER: your_user
DATABASE_PASSWORD: your_password
DATABASE_NAME: your_database
DISABLE_KILL_ENDPOINT: ${DISABLE_KILL_ENDPOINT:-false}
DISABLE_RATE_LIMITING: ${DISABLE_RATE_LIMITING:-false}
DISABLE_REDOS: ${DISABLE_REDOS:-false}
DISABLE_CMD_INJECTION: ${DISABLE_CMD_INJECTION:-false}
DISABLE_HTTP2: ${DISABLE_HTTP2:-false}
DISABLE_HTTPS: ${DISABLE_HTTPS:-false}
DISABLE_LOGICAL_ORDER_ERROR: ${DISABLE_LOGICAL_ORDER_ERROR:-false}
ports:
- "3000:3000"
depends_on:
- db
nested-objects:
build: ./nested-objects
container_name: app-nested-objects
environment:
DATABASE_HOST: db
DATABASE_PORT: 5432
DATABASE_USER: your_user
DATABASE_PASSWORD: your_password
DATABASE_NAME: your_database
DISABLE_RATE_LIMITING: ${DISABLE_RATE_LIMITING:-false}
DISABLE_HTTP2: ${DISABLE_HTTP2:-false}
DISABLE_HTTPS: ${DISABLE_HTTPS:-false}
ports:
- "3000:3000"
depends_on:
- db
use-after-free:
build: ./use-after-free
container_name: app-use-after-free
environment:
DATABASE_HOST: db
DATABASE_PORT: 5432
DATABASE_USER: your_user
DATABASE_PASSWORD: your_password
DATABASE_NAME: your_database
DISABLE_RATE_LIMITING: ${DISABLE_RATE_LIMITING:-false}
DISABLE_HTTP2: ${DISABLE_HTTP2:-false}
DISABLE_HTTPS: ${DISABLE_HTTPS:-false}
ports:
- "3000:3000"
depends_on:
- db
volumes:
postgres_data: