-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
92 lines (84 loc) · 2.02 KB
/
docker-compose.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
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
version: "3.7"
services:
scrapper:
env_file:
- .env
build:
context: ./docker/scrapper
dockerfile: Dockerfile
ports:
- ${SCRAPPER_PORT}:4000
elastic:
env_file:
- .env
image: elasticsearch:8.7.0
ports:
- ${ELASTIC_REST_PORT}:9200
- ${ELASTIC_CLUSTER_PORT}:9300
environment:
- discovery.type=single-node
- path.repo=/tmp
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- xpack.security.enabled=false
- action.destructive_requires_name=false
volumes:
- elastic:/usr/share/elasticsearch/data
kibana:
env_file:
- .env
image: kibana:8.7.0
ports:
- ${KIBANA_PORT}:5601
environment:
- ELASTICSEARCH_HOSTS=http://elastic:9200
postgres:
env_file:
- .env
build:
context: ./docker/postgres
dockerfile: Dockerfile
ports:
- ${POSTGRES_PORT}:5432
volumes:
- "postgres:/var/lib/postgresql/data"
redis:
env_file:
- .env
image: redis
ports:
- ${REDIS_PORT}:6379
volumes:
- "redis:/data"
mailcatcher:
env_file:
- .env
image: schickling/mailcatcher
ports:
- ${MAILCATCHER_WEB_PORT}:1080
- ${MAILCATCHER_SMTP_PORT}:1025
imgproxy:
image: darthsim/imgproxy:latest
environment:
- IMGPROXY_FALLBACK_IMAGE_PATH=/volume/image-not-found.png
- IMGPROXY_LOCAL_FILESYSTEM_ROOT=/volume/
- IMGPROXY_ALLOW_ORIGIN=*
- IMGPROXY_IGNORE_SSL_VERIFICATION=true
- IMGPROXY_MAX_ANIMATION_FRAMES=1000
- IMGPROXY_ENABLE_WEBP_DETECTION=true
- IMGPROXY_ENFORCE_WEBP=true
- IMGPROXY_LOG_LEVEL=debug
- IMGPROXY_MAX_SRC_RESOLUTION=9999
- IMGPROXY_MAX_SRC_FILE_SIZE=31457280
- IMGPROXY_READ_TIMEOUT=20
- IMGPROXY_WRITE_TIMEOUT=20
- IMGPROXY_DOWNLOAD_TIMEOUT=10
- IMGPROXY_ENABLE_AVIF_DETECTION=true
- IMGPROXY_ENFORCE_AVIF=true
volumes:
- ./docker/imgproxy:/volume/
ports:
- ${IMGPROXY_PORT}:8080
volumes:
redis:
postgres:
elastic: