-
Notifications
You must be signed in to change notification settings - Fork 2
Docker
Ruslan Tahiiev edited this page Apr 29, 2022
·
14 revisions
For compose docker containers with Nats and PostgresDB
path/to/project/docker-compose.yaml
version: "2.2"
services:
nats:
image: nats-streaming
ports:
- "4222:4222"
command: '--max_channels=2000'
db:
image: postgres:latest
restart: unless-stopped
environment:
POSTGRES_PASSWORD: postgres # username: postgres
POSTGRES_DB: blockchain_wallets # name of service db
ports:
- 5432:5432
Run in path/to/project
docker-compose up