Skip to content

Commit

Permalink
Create package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 6, 2024
1 parent 8395643 commit 0159ba3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions blockchain_integration/PiSure/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: '3'

services:
app:
build: .
ports:
- "3000:3000"
depends_on:
- db
environment:
- DATABASE_URL=postgres://user:password@db:5432/pi-sure
- MONGODB_URL=mongodb://user:password@mongo:27017/pi-sure
volumes:
- ./src:/app/src

db:
image: postgres
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=password
- POSTGRES_DB=pi-sure
volumes:
- db-data:/var/lib/postgresql/data

mongo:
image: mongo
environment:
- MONGO_INITDB_ROOT_USERNAME=user
- MONGO_INITDB_ROOT_PASSWORD=password
volumes:
- mongo-data:/data/db

volumes:
db-data:
mongo-data:

0 comments on commit 0159ba3

Please sign in to comment.