-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
59 lines (54 loc) · 1.62 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
version: "3.6"
services:
fuzzysearch-owo-web:
image: ghcr.io/syfaro/fuzzysearch-owo
command: /bin/fuzzysearch-owo --run-migrations web
env_file: .env
environment:
- "RUST_LOG=info"
- "DATABASE_URL=postgres://postgres:postgres@postgres/postgres?sslmode=disable"
- "FAKTORY_HOST=tcp://faktory:7419"
- "METRICS_HOST=0.0.0.0:8081"
- "JAEGER_COLLECTOR=localhost:6831"
depends_on:
postgres:
condition: service_healthy
faktory:
condition: service_started
fuzzysearch-owo-worker:
image: ghcr.io/syfaro/fuzzysearch-owo
command: /bin/fuzzysearch-owo --run-migrations background-worker
env_file: .env
environment:
- "RUST_LOG=info"
- "DATABASE_URL=postgres://postgres:postgres@postgres/postgres?sslmode=disable"
- "FAKTORY_HOST=tcp://faktory:7419"
- "FAKTORY_QUEUES=core,outgoing,outgoing-bulk"
- "METRICS_HOST=0.0.0.0:8082"
- "JAEGER_COLLECTOR=localhost:6831"
depends_on:
postgres:
condition: service_healthy
faktory:
condition: service_started
postgres:
build:
context: .
dockerfile: Dockerfile.postgres-bktree
environment:
- "POSTGRES_PASSWORD=postgres"
healthcheck:
test: pg_isready -U postgres
faktory:
image: contribsys/faktory
command: /faktory -b :7419 -w :7420
faktory-cron:
image: ghcr.io/syfaro/faktory-cron:main
command: /bin/faktory-cron -config /config.yaml
volumes:
- ./jobs.yaml:/config.yaml:ro
environment:
- "FAKTORY_URL=tcp://faktory:7419"
depends_on:
faktory:
condition: service_started