This project is built with Nuxt 3 and Tailwind CSS, and can be hosted using docker-compose.
Create a .env
file in the root of the project with the following content:
IMAGE_NAME=<IMAGE_NAME> # you specify the image name you want to use, local or prebuilt.
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> in .env
to ghcr.io/eesoymilk/future-xplorer:main
and run the docker-compose:
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.