mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 05:13:41 -05:00
1.1 KiB
1.1 KiB
CatAsk on Docker (or Podman)
Prerequisites
- Docker +
docker-compose
(or Podman +podman-compose
)
Steps
Before starting CatAsk, you must copy the configuration files to their proper places first:
cp config.example.json config.json
cp .env.example .env
Then, paste this into the .env
file, and replace sections that are marked with [CHANGE THIS]
.
DB_HOST = postgres
DB_NAME = catask
DB_USER = catask
DB_PASS = catask
DB_PORT = 5432
ADMIN_PASSWORD = [CHANGE THIS]
APP_SECRET = [CHANGE THIS]
You may now start CatAsk:
docker compose up
If you have done everything correctly, going to http://localhost:8000
in your browser should show a question box screen. You may now log in with your admin password, and configure the instance.
Updating
- Stop the Docker container
docker compose down
-
Follow the
UPDATE.md
file to see what to add or remove to yourconfig.json
or.env
. -
Remove the Docker image
docker rmi catask_catask
- Restart CatAsk
docker compose up