Commit 04e5624d by tdgiang

Add mongo service to docker-compose.yml for admin transaction storage

parent 3470b8d9
...@@ -12,3 +12,4 @@ app/tests/coverage/ ...@@ -12,3 +12,4 @@ app/tests/coverage/
*.sublime-project *.sublime-project
dist/ dist/
.worktrees/ .worktrees/
scratch/
...@@ -14,6 +14,7 @@ services: ...@@ -14,6 +14,7 @@ services:
- "7003:3003" - "7003:3003"
depends_on: depends_on:
- redis - redis
- mongo
volumes: volumes:
# Named volume, not a host bind-mount: a bind-mounted host directory # Named volume, not a host bind-mount: a bind-mounted host directory
# keeps the host's ownership (usually root), which the container's # keeps the host's ownership (usually root), which the container's
...@@ -27,6 +28,13 @@ services: ...@@ -27,6 +28,13 @@ services:
volumes: volumes:
- redis-data:/data - redis-data:/data
mongo:
image: mongo:7
restart: unless-stopped
volumes:
- mongo-data:/data/db
volumes: volumes:
redis-data: redis-data:
app-log: app-log:
mongo-data:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment