Basetool
Search
K

Docker

To use basetool with docker you need to download a docker-compose.yml file, an .env file and fill out your DB credentials.

Download `docker-compose.yml`

curl -LO https://raw.githubusercontent.com/basetool-io/basetool/main/deploy/docker/docker-compose.yml

Download the sample `.env` file

curl -LO https://raw.githubusercontent.com/basetool-io/basetool/main/deploy/docker/.env.sample
mv .env.sample .env

Config the app

Generate a secret with openssl rand -hex 32 and add it to SECRET in .env
Fill in the Postgres DATABASE_URL
DATABASE_URL=postgresql://DUMMY_USER:DUMMY_PASSWORD@DUMMY_HOST/basetool

Run the app

Run docker compose up