pre-built docker image from gitea registry, no build required
This commit is contained in:
13
README.md
13
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
|
## 🚀 Getting started
|
||||||
|
|
||||||
### 1. Clone and configure
|
### 1. Download and configure
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.lashman.live/lashman/echoboard.git
|
mkdir echoboard && cd 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
|
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
|
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
|
### 3. Create your admin account
|
||||||
|
|
||||||
@@ -229,8 +230,8 @@ server {
|
|||||||
## 🔄 Updating
|
## 🔄 Updating
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git pull
|
docker compose pull
|
||||||
docker compose up -d --build
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
Database migrations run automatically on startup. Your data, uploads, and plugins are preserved.
|
Database migrations run automatically on startup. Your data, uploads, and plugins are preserved.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: echoboard
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build: .
|
image: git.lashman.live/lashman/echoboard:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
|
|||||||
Reference in New Issue
Block a user