mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-24 01:14:27 +01:00
fix: remove deprecated compose version tag
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user