MongoDb DockerCompose
-
Set the
.env
file with the following values:- DATABASE=tweets
- ADM_USERNAME=admin
- ADM_PASSWORD=admin
- USERNAME=root
- PASSWORD=example
- AWS_SECRET_ACCESS_KEY=KEY
- AWS_ACCESS_KEY_ID=ID
- BACKUP_INTERVAL=5m
- BUCKET_URL=s3://.../..
-
Set the environment Variables `nano env.txt``
-
Create the
.env
withcp env.txt .env
-
docker-compose up -d
to start the Server