Compose setup
Clone the repo:
Environment variables for Debates App
You need to set the following credentials:
- App S3:
[ACCESS_KEY],[SECRET_KEY] - Mongo DB:
[MONGO_USER],[MONGO_PASSWORD] - Mongo Express:
[MONGO_EXPRESS_USER],[MONGO_EXPRESS_PASSWORD]
You also need a directory for volumes:
Save the pathes:
[PATH_MINIO][PATH_MONGO][PATH_S3]
Then the .env file is filled as follow:
# Credentials
# s3
S3_ACCESS_KEY=ACCESS_KEY]
S3_SECRET_KEY=[SECRET_KEY]
# Mongo DB
MONGO_USER=[MONGO_USER]
MONGO_PASSWORD=[MONGO_PASSWORD]
# Mongo Express
MONGO_EXPRESS_USER=[MONGO_EXPRESS_USER]
MONGO_EXPRESS_PASSWORD=[MONGO_EXPRESS_PASSWORD]
# volumes to store the data of services in docker compose
SOLR_PATH=[PATH_SOLR]
MONGO_PATH=[PATH_MONGO]
MINIO_PATH=[PATH_MINIO]
Environment Variables for frontend
The frontend is build with Sveltekit ⧉ and also a environment variable:
The .env file of the frontend should look like this:
The url connects it to the backend.
Build docker compose
Now you are ready to build and run docker compose
Now that the containers are running, enter the dataloader container
Load data
This step describes the initial data loading