Skip to content

Commit 1b551f7

Browse files
Merge pull request #12 from fork-contributions/feature/mongo-express-ui-service
FEATURE: Mongo-express UI service for transaction API database
2 parents 7af30f2 + 3dd9561 commit 1b551f7

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

src/docker-compose.override.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,20 @@ services:
5252
- "5050:80"
5353
volumes:
5454
- pgadmin_data:/root/.pgadmin
55-
55+
56+
mongo-express:
57+
image: mongo-express
58+
environment:
59+
- ME_CONFIG_MONGODB_SERVER=transactiondb
60+
- ME_CONFIG_MONGODB_PORT=27017
61+
- ME_CONFIG_BASICAUTH_USERNAME=admin
62+
- ME_CONFIG_BASICAUTH_PASSWORD=admin1234
63+
restart: always
64+
ports:
65+
- "8081:8081"
66+
volumes:
67+
- mongo_data:/data/db
68+
5669
portainer:
5770
container_name: portainer
5871
restart: always

src/docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ services:
1515

1616
pgadmin:
1717
image: dpage/pgadmin4
18-
18+
19+
mongo-express:
20+
image: mongo-express
21+
1922
portainer:
2023
image: portainer/portainer-ce
2124

0 commit comments

Comments
 (0)