This project is build with Nuxt 3 and Tailwind CSS.
Create a .env
file in the root of the project with the following content:
IMAGE_NAME=<IMAGE_NAME>
MONGO_USER=<MONGO_USER>
MONGO_PASSWORD=<MONGO_PASSWORD>
MONGO_HOST=<MONGO_HOST>
MONGO_PORT=<MONGO_PORT>
MONGO_DB=<MONGO_DB>
OPENAI_API_KEY=<OPENAI_API_KEY>
S3_DOMAIN=<S3_DOMAIN>
S3_ACCESS_KEY_ID=<S3_ACCESS_KEY_ID>
S3_SECRET_ACCESS_KEY=<S3_SECRET_ACCESS_KEY>
docker build -t <IMAGE_NAME> .
docker compose --env-file .env.docker up -d
We have released the Docker image to the GitHub Container Registry, you set the <IMAGE_NAME> to ghcr.io/eesoymilk/future-xplorer:main
and run the Docker compose with the .env
file:
docker compose --env-file .env.docker up -d
Make sure to install the dependencies:
yarn install
Start the development server on http://localhost:3000
:
yarn dev
Check out the deployment documentation for more information.