Skip to content

Commit

Permalink
Move the local checks development environment from wanda
Browse files Browse the repository at this point in the history
  • Loading branch information
janvhs committed Sep 17, 2024
1 parent 5f5d6a2 commit 7ec1dda
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
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
- checks
ports:
- 4000:4000
entrypoint: /bin/sh -c "/app/bin/wanda eval \"Wanda.Release.init()\" && /app/bin/wanda start"
volumes:
- ./priv/catalog/:/app/catalog:rw
- ./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:

0 comments on commit 7ec1dda

Please sign in to comment.