Browse Source

Add docker-compose for included mongodb

pull/19/head
Abheek Dhawan 3 years ago
parent
commit
6679de46b8
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 1
      .gitignore
  2. 17
      docker-compose.yml

1
.gitignore

@ -13,3 +13,4 @@ config.json
.DS_Store .DS_Store
update.sh update.sh
.eslintrc.json .eslintrc.json
data/

17
docker-compose.yml

@ -0,0 +1,17 @@
# Use root/example as user/password credentials
version: '3.1'
services:
mongo:
image: mongo:4.4
restart: always
ports:
- 27017:27017
volumes:
- ./data:/data/db
awesomescibo:
image: abheekd/awesomescibo:latest
restart: unless-stopped
environment:
MONGO_URI: "mongodb://mongo:27017/AWESOME?authSource=AWESOME&w=1"
TOKEN: "TOKEN"
Loading…
Cancel
Save