forked from trento-project/wanda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.checks.yaml
43 lines (39 loc) · 1.02 KB
/
docker-compose.checks.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
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:
- ./priv/catalog/:/app/catalog:rw
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:latest
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: