-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
74 lines (67 loc) · 1.42 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
version: "3.4"
services:
db:
image: postgres:14-alpine
env_file:
- .env
environment:
- POSTGRES_USER=bullet
- POSTGRES_PASSWORD=bullet
- POSTGRES_DB=bullet
volumes:
- postgres_data:/var/lib/postgresql/data/
ports:
- "5433:5432"
web:
build:
context: .
image: bullet
env_file:
- .env
environment:
- DEBUG=True
- PARENT_HOST=localhost:8000
- REDIS_RQ_ASYNC=False
- LETTER_URL=http://letter:8080
- LETTER_CALLBACK_ROOT=http://math.localhost:8000
ports:
- "8000:8000"
volumes:
- ./bullet/:/app/
- geiop_data:/geoip/
- ./CHANGELOG.md:/app/CHANGELOG.md:ro
depends_on:
- db
- geoip
- meilisearch
command: "./entrypoint.sh dev"
tailwind:
build:
context: .
target: cssbuild
volumes:
- ./bullet/:/app/bullet/
- ./css:/app/css/
- ./tailwind.config.js:/app/tailwind.config.js
- ./package.json:/app/package.json
tty: true
geoip:
image: maxmindinc/geoipupdate
env_file:
- .env
volumes:
- geiop_data:/usr/share/GeoIP
meilisearch:
image: getmeili/meilisearch:v1.12.5
volumes:
- search_data:/meili_data
redis:
image: redis:7.2.0
letter:
image: ghcr.io/naboj-org/letter:latest
extra_hosts:
- math.localhost:host-gateway
volumes:
postgres_data:
geiop_data:
search_data: