mirror of
https://github.com/plausible/hosting.git
synced 2024-12-22 20:13:17 -06:00
use newer image version
This commit is contained in:
parent
2ecf128d2b
commit
ffc883de7e
@ -1,8 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
plausible_db:
|
plausible_db:
|
||||||
# Plausible v2.0.0 was tested against PostgreSQL versions 12, 13, and 14
|
# Plausible v2.1.0 was tested against PostgreSQL versions 15 and 16
|
||||||
# https://github.com/plausible/analytics/blob/v2.0.0/.github/workflows/elixir.yml#L16
|
# https://github.com/plausible/analytics/blob/v2.1.0/.github/workflows/elixir.yml#L21-L32
|
||||||
image: postgres:14-alpine
|
image: postgres:16-alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db-data:/var/lib/postgresql/data
|
- db-data:/var/lib/postgresql/data
|
||||||
@ -23,7 +23,7 @@ services:
|
|||||||
hard: 262144
|
hard: 262144
|
||||||
|
|
||||||
plausible:
|
plausible:
|
||||||
image: ghcr.io/plausible/community-edition:v2.1.0-rc.1
|
image: ghcr.io/plausible/community-edition:v2.1.0
|
||||||
restart: always
|
restart: always
|
||||||
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
Reference in New Issue
Block a user