-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
45 lines (39 loc) · 1.03 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
version: "3.7"
services:
wanda:
image: ghcr.io/trento-project/trento-wanda:rolling
environment:
DATABASE_URL: ecto://postgres:postgres@postgres/postgres
SECRET_KEY_BASE: dummyS3cr3t
AMQP_URL: amqp://wanda:wanda@rabbitmq
CORS_ENABLED: "false"
CATALOG_PATH: /app/catalog
JWT_AUTHENTICATION_ENABLED: "false"
depends_on:
- postgres
- rabbitmq
ports:
- 4000:4000
entrypoint: /bin/sh -c "/app/bin/wanda eval \"Wanda.Release.init()\" && /app/bin/wanda start"
volumes:
- ./checks:/usr/share/trento/checks:ro
rabbitmq:
image: rabbitmq:3.10.5-management-alpine
ports:
- 5672:5672
- 15672:15672
environment:
RABBITMQ_DEFAULT_USER: wanda
RABBITMQ_DEFAULT_PASS: wanda
postgres:
image: postgres:15
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
PGDATA: /var/lib/postgresql/data/pgdata
ports:
- 5434:5432
volumes:
- pg_data:/var/lib/postgresql/data
volumes:
pg_data: