-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.gatling.yml
55 lines (51 loc) · 1.09 KB
/
docker-compose.gatling.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
name: fide
services:
api:
image: ghcr.io/lenguyenthanh/fide:latest
container_name: fide_api_gatling
environment:
- HTTP_SHUTDOWN_TIMEOUT=1
- POSTGRES_HOST=db
- POSTGRES_PORT=5432
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=dummy
- POSTGRES_MAX=20
- POSTGRES_DATABASE=fide
- CRAWLER_JOB_DELAY=1
- CRAWLER_CONCURRENT_UPSERT=10
ports:
- 9669:9669
networks:
- fide_api
restart: unless-stopped
deploy:
resources:
limits:
cpus: "4"
memory: 16G
reservations:
cpus: "2"
memory: 8G
db:
image: postgres:16.2-alpine3.19
container_name: fide_postgres_gatling
environment:
POSTGRES_DB: fide
POSTGRES_USER: admin
POSTGRES_PASSWORD: dummy
ports:
- 5432:5432
networks:
- fide_api
restart: unless-stopped
deploy:
resources:
limits:
cpus: "4"
memory: 8G
reservations:
cpus: "2"
memory: 1G
networks:
fide_api:
driver: bridge