diff --git a/README.md b/README.md index bd53bf5..8a3a50f 100644 --- a/README.md +++ b/README.md @@ -161,11 +161,12 @@ Security isn't a feature you bolt on at the end. It's a set of choices you make ## 🚀 Getting started -### 1. Clone and configure +### 1. Download and configure ```bash -git clone https://git.lashman.live/lashman/echoboard.git -cd echoboard +mkdir echoboard && cd echoboard +curl -O https://git.lashman.live/lashman/echoboard/raw/branch/main/docker-compose.yml +curl -O https://git.lashman.live/lashman/echoboard/raw/branch/main/.env.example cp .env.example .env ``` @@ -197,7 +198,7 @@ Paste the public and private keys into `VAPID_PUBLIC_KEY` and `VAPID_PRIVATE_KEY docker compose up -d ``` -That's it. Two containers come up - the app and a PostgreSQL database. Migrations run automatically. +That's it. The pre-built image is pulled from the Gitea container registry. Two containers come up - the app and a PostgreSQL database. Migrations run automatically. ### 3. Create your admin account @@ -229,8 +230,8 @@ server { ## 🔄 Updating ```bash -git pull -docker compose up -d --build +docker compose pull +docker compose up -d ``` Database migrations run automatically on startup. Your data, uploads, and plugins are preserved. diff --git a/docker-compose.yml b/docker-compose.yml index 8a026aa..9f9754b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ name: echoboard services: app: - build: . + image: git.lashman.live/lashman/echoboard:latest restart: unless-stopped depends_on: db: