Install with Docker π³
Prerequisitesβ
- Ensure you have Docker and Docker Compose installed on your system.
Configurationβ
Navigate to the Docker Directory:
cd ./docker
Modify Configuration (if necessary):
The
docker-compose.yml
file contains various settings, including the ports the services will run on. Review and update if needed. Particularly, you might want to adjust thePORTS
configuration depending on your needs.You'll need to update the REPLICATE_API_KEY in the docker-compose file to use the Replicate Node. This API key is used exclusively for fetching model data.
Running the Applicationβ
Start the Services:
- To start the application in the foreground (logs will display in the terminal):
docker-compose up
- To start the application in the background (detached mode):
docker-compose up -d
- To start the application in the foreground (logs will display in the terminal):
Accessing the Application:
- Once the services have started, open your browser and navigate to:
http://localhost:80
- If you've changed the port in the
.yml
file, make sure to use that port instead.
- Once the services have started, open your browser and navigate to:
Stopping the Applicationβ
- Stop the Services:
- When you want to stop the application and its related services, use CTRL+C in the terminal.
- If you're in detached mode, use the following command:
docker-compose stop