34 lines
852 B
YAML
34 lines
852 B
YAML
version: '3'
|
|
services:
|
|
ganache:
|
|
image: '0xorg/ganache-cli:6.5.10'
|
|
ports:
|
|
- '8545:8545'
|
|
environment:
|
|
VERSION: 8.0.1
|
|
CHAIN_ID: 1337
|
|
NETWORK_ID: 1337
|
|
postgres:
|
|
image: postgres:9.6
|
|
environment:
|
|
- POSTGRES_USER=api
|
|
- POSTGRES_PASSWORD=api
|
|
- POSTGRES_DB=api
|
|
# persist the postgres data to disk so we don't lose it
|
|
# on rebuilds.
|
|
volumes:
|
|
- ./postgres:/var/lib/postgresql/data
|
|
ports:
|
|
- '5432:5432'
|
|
redis:
|
|
image: redis:6.2.7
|
|
ports:
|
|
- '6379:6379'
|
|
sqs:
|
|
image: mvisonneau/alpine-sqs:1.2.0
|
|
ports:
|
|
- '9324:9324'
|
|
- '9325:9325'
|
|
volumes:
|
|
- ./elasticmq.conf:/opt/config/elasticmq.conf
|