-
Notifications
You must be signed in to change notification settings - Fork 728
/
docker-compose.yml
76 lines (69 loc) · 1.52 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
services:
web:
build:
context: .
target: base
command: ./bin/run-prod.sh
env_file: .env
volumes:
- ./:/app:delegated
user: ${UID:-kitsune}
stdin_open: true
tty: true
depends_on:
- postgres
- elasticsearch
- kibana
- redis
- celery
- mailcatcher
ports:
- "8000:8000"
postgres:
image: postgres:15.3
environment:
- POSTGRES_PASSWORD=kitsune
- POSTGRES_USER=kitsune
- POSTGRES_DB=kitsune
- LC_ALL=C.UTF-8
ports:
- "5432:5432"
volumes:
- pgvolume:/var/lib/postgresql/data
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
environment:
- discovery.type=single-node
- LOG4J_FORMAT_MSG_NO_LOOKUPS=true
ports:
- "9200:9200"
- "9300:9300"
volumes:
- ./kitsune/search/dictionaries/synonyms:/usr/share/elasticsearch/config/synonyms
kibana:
image: docker.elastic.co/kibana/kibana:7.10.2
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
redis:
image: redis:3
celery:
build:
context: .
target: base
command: celery -A kitsune worker -l info -n default@%h -Q celery,priority
env_file: .env
volumes:
- ./:/app:delegated
user: ${UID:-kitsune}
depends_on:
- postgres
- redis
mailcatcher:
image: schickling/mailcatcher
ports:
- "1080:1080"
volumes:
pgvolume: