-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
107 lines (100 loc) · 2.6 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: "3.5"
services:
store:
container_name: es
image: docker.elastic.co/elasticsearch/elasticsearch@sha256:ec72548cf833e58578d8ff40df44346a49480b2c88a4e73a91e1b85ec7ef0d44 # docker.elastic.co/elasticsearch/elasticsearch:8.12.0
volumes:
- ./.docker/es/data:/var/lib/elasticsearch/data
ports:
- "9300:9300"
- "9200:9200"
environment:
- xpack.security.enabled=false
- discovery.type=single-node
- http.cors.enabled=true
- http.cors.allow-origin=http://localhost:1358,http://127.0.0.1:1358
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
- http.cors.allow-credentials=true
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
cap_add:
- IPC_LOCK
queue:
image: rabbitmq@sha256:e2505f78d58dca8c372cde3930e4d6bee5e02ac9001ce85ece5a11df606c1fa3 # rabbitmq:3.12.12-management
container_name: rabbitmq
hostname: rabbit
volumes:
- ./.docker/rabbitmq/data:/var/lib/rabbitmq
- ./.docker/rabbitmq/logs:/var/log/rabbitmq
environment:
RABBITMQ_ERLANG_COOKIE: "secret-cookie"
RABBITMQ_DEFAULT_USER: "admin"
RABBITMQ_DEFAULT_PASS: "Admin123"
ports:
- 5672:5672
- 15672:15672
api:
container_name: feluda_api
build:
context: ./src
dockerfile: Dockerfile
target: debug
args:
- "UID=${UID:-1000}"
- "GID=${GID:-1000}"
volumes:
- ./src:/usr/app
- venv:/usr/app/venv/
env_file: ./src/development.env
ports:
- 7000:7000
- 5678:5678
command: tail -f /dev/null
depends_on:
store:
condition: service_started
queue:
condition: service_started
indexer:
container_name: feluda_indexer
build:
context: ./src
dockerfile: Dockerfile
target: debug
args:
- "UID=${UID:-1000}"
- "GID=${GID:-1000}"
env_file: ./src/development.env
command: tail -f /dev/null
depends_on:
store:
condition: service_started
queue:
condition: service_started
reporter:
container_name: feluda_reporter
build:
context: ./src
dockerfile: Dockerfile
target: debug
args:
- "UID=${UID:-1000}"
- "GID=${GID:-1000}"
env_file: ./src/development.env
command: tail -f /dev/null
depends_on:
store:
condition: service_started
queue:
condition: service_started
volumes:
venv: {}
#networks:
# default:
# external: true
# name: kosh-v2_tattle