Skip to content

Commit

Permalink
ci: Add docker compose file for example test stack
Browse files Browse the repository at this point in the history
  • Loading branch information
plaird523 committed Oct 23, 2023
1 parent b0f105d commit a8ad939
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
version: '3.8'
services:
postgres:
image: ghcr.io/valorem-labs-inc/customgres:latest
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: trade
ports:
- 5432:5432
migrator:
image: ghcr.io/valorem-labs-inc/migrator:latest
environment:
DATABASE_URL: postgres://postgres:password@postgres:5432/trade
command: '/scripts/run_migrations.sh'
depends_on:
- postgres
redis:
image: redis:7
ports:
- 6379:6379
anvil:
image: ghcr.io/valorem-labs-inc/anvil:latest
ports:
- 8545:8545
tradeapi:
image: ghcr.io/valorem-labs-inc/trade-web-api:latest
environment:
APP_ENVIRONMENT: local
ports:
- 8080:8080
depends_on:
- postgres
- redis
- anvil
indexer:
image: ghcr.io/valorem-labs-inc/indexer:latest
depends_on:
- postgres
- redis
- anvil

0 comments on commit a8ad939

Please sign in to comment.