19 lines
905 B
Markdown
19 lines
905 B
Markdown
# Docker installation
|
|
|
|
This guide does not cover how to install docker. Please use [docker's website](https://www.docker.com/get-started/) 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](https://git.dou.bet/iamdoubz/drawit/packages/drawit).
|
|
|
|
### Docker-Compose
|
|
|
|
1. Copy the contents of `.env.example` and paste them into a file called `.env`
|
|
2. Change the variables to match your environment
|
|
3. Be sure to generate a long and secure SESSION_SECRET. My favorite is: `openssl rand -hex 32`
|
|
4. Download the `docker-compose.yml` file and run `sudo docker compose up -d`
|
|
5. 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! |