Server

Server Deployment

Practical CookieFarm server deployment with Docker Compose.

Server Deployment

Available compose files

Repository includes:

  • cookiefarm/docker-compose.yml (prebuilt image)
  • cookiefarm/docker-compose.build.yml (local build)

Quick start

cd cookiefarm
docker compose up -d

Local build mode:

docker compose -f docker-compose.build.yml up -d --build

Mount volumes for:

  • SQLite DB
  • config.yml
  • .env

Post-deploy check

curl -i --max-time 5 http://127.0.0.1:8080/api/v1/

Expected: JSON response indicating server is online.

Minimum hardening

  • use a strong .env password
  • restrict dashboard/API access to team network
  • schedule regular SQLite backups

How is this guide?

On this page