Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 668 Bytes

README_docker.md

File metadata and controls

32 lines (18 loc) · 668 Bytes

Running ai-horde with Docker


Prerequisites

Build

Run the following command in your project root folder (the folder where your Dockerfile is located):

(The image name can be changed to any name you want.)

docker build -t aihorde:latest .

with Docker-compose

Create .env_docker file to deliver access information of services used together such as Redis and Postgres.

Copy the .env_template file in the root folder to create the .env_docker file.

docker-compose.yaml Change the file as needed.

# run in background
docker-compose up -d