Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7dfbe097c7 | ||
|
|
59962dddb2 | ||
|
|
ec6c4da776 |
@@ -23,7 +23,7 @@
|
|||||||
#### 1. Clone this repository
|
#### 1. Clone this repository
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ git clone -b v3.2.0 --single-branch https://github.com/plausible/community-edition plausible-ce
|
$ git clone -b v3.2.1 --single-branch https://github.com/plausible/community-edition plausible-ce
|
||||||
Cloning into 'plausible-ce'...
|
Cloning into 'plausible-ce'...
|
||||||
|
|
||||||
$ cd plausible-ce
|
$ cd plausible-ce
|
||||||
|
|||||||
+3
-15
@@ -1,15 +1,4 @@
|
|||||||
services:
|
services:
|
||||||
plausible_db:
|
|
||||||
image: postgres:16-alpine
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- db-data:/var/lib/postgresql/data
|
|
||||||
environment:
|
|
||||||
- POSTGRES_PASSWORD=postgres
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
||||||
start_period: 1m
|
|
||||||
|
|
||||||
plausible_events_db:
|
plausible_events_db:
|
||||||
image: clickhouse/clickhouse-server:24.12-alpine
|
image: clickhouse/clickhouse-server:24.12-alpine
|
||||||
restart: always
|
restart: always
|
||||||
@@ -39,12 +28,10 @@ services:
|
|||||||
start_period: 1m
|
start_period: 1m
|
||||||
|
|
||||||
plausible:
|
plausible:
|
||||||
image: ghcr.io/plausible/community-edition:v3.2.0
|
image: ghcr.io/plausible/community-edition:v3.2.1
|
||||||
restart: always
|
restart: always
|
||||||
command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
||||||
depends_on:
|
depends_on:
|
||||||
plausible_db:
|
|
||||||
condition: service_healthy
|
|
||||||
plausible_events_db:
|
plausible_events_db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
@@ -53,6 +40,8 @@ services:
|
|||||||
nofile:
|
nofile:
|
||||||
soft: 65535
|
soft: 65535
|
||||||
hard: 65535
|
hard: 65535
|
||||||
|
ports:
|
||||||
|
- 5000:8000
|
||||||
environment:
|
environment:
|
||||||
- TMPDIR=/var/lib/plausible/tmp
|
- TMPDIR=/var/lib/plausible/tmp
|
||||||
# required: https://github.com/plausible/community-edition/wiki/configuration#required
|
# required: https://github.com/plausible/community-edition/wiki/configuration#required
|
||||||
@@ -94,7 +83,6 @@ services:
|
|||||||
- SENDGRID_API_KEY
|
- SENDGRID_API_KEY
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
|
||||||
event-data:
|
event-data:
|
||||||
event-logs:
|
event-logs:
|
||||||
plausible-data:
|
plausible-data:
|
||||||
|
|||||||
Reference in New Issue
Block a user