905 B
905 B
Docker installation
This guide does not cover how to install docker. Please use docker's website in order to find the best solution for you. If you already have docker installed, continue reading.
Pre-built images
This is the recommended way by pulling images from the repository.
Docker-Compose
- Copy the contents of
.env.exampleand paste them into a file called.env - Change the variables to match your environment
- Be sure to generate a long and secure SESSION_SECRET. My favorite is:
openssl rand -hex 32 - Download the
docker-compose.ymlfile and runsudo docker compose up -d - DrawIt will be running on localhost on port 3000 by default
Building your own images
If you really want to build your own image, you probably already know what you are doing. Best of luck!