fix: remove deprecated compose version tag

This commit is contained in:
LRVT
2024-11-04 13:08:51 +01:00
parent ea9ff8a925
commit dba1b9f1cc
148 changed files with 658 additions and 603 deletions

View File

@@ -1,10 +1,11 @@
version: "3.3"
services:
plausible_db:
image: postgres:16-alpine
container_name: plausible-db
restart: always
restart: always
expose:
- 5432
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/database/:/var/lib/postgresql/data
environment:
@@ -13,8 +14,8 @@ services:
# - proxy
plausible_events_db:
image: clickhouse/clickhouse-server:24.3.3.102-alpine
container_name: plausible-events-db
image: clickhouse/clickhouse-server:24.3.3.102-alpine
restart: always
environment:
- CLICKHOUSE_UID=1000
@@ -31,8 +32,8 @@ services:
# - proxy
plausible:
image: ghcr.io/plausible/community-edition:v2.1
container_name: plausible
image: ghcr.io/plausible/community-edition:v2.1
restart: always
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
depends_on:
@@ -40,6 +41,8 @@ services:
- plausible_events_db
ports:
- 8000:8000 # WEB UI
expose:
- 8000
env_file:
- .env
#networks: