use newer image version

This commit is contained in:
ruslandoga 2024-05-23 17:37:11 +07:00 committed by GitHub
parent 2ecf128d2b
commit ffc883de7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: