Fixing volume mounts for Plausible.

This commit is contained in:
2024-12-16 12:01:07 -05:00
parent 4027bed12d
commit 0dfd71c0be
+5 -27
View File
@@ -3606,11 +3606,7 @@ services:
default: null default: null
restart: always restart: always
volumes: volumes:
- source: plausible-db-data - plausible-db-data:/var/lib/postgresql/data
target: /var/lib/postgresql/data
type: bind
bind:
create_host_path: true
plausible_events_db: plausible_events_db:
container_name: plausible-events-db container_name: plausible-events-db
expose: expose:
@@ -3624,28 +3620,10 @@ services:
hard: 262144 hard: 262144
soft: 262144 soft: 262144
volumes: volumes:
- source: plausible-event-data - plausible-event-data:/var/lib/clickhouse
target: /var/lib/clickhouse - plausible-event-logs:/var/log/clickhouse-server
type: bind - ${DOCKER_VOLUME_CONFIG}/plausible/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
bind: - ${DOCKER_VOLUME_CONFIG}/plausible/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
create_host_path: true
- source: plausible-event-logs
target: /var/log/clickhouse-server
type: bind
bind:
create_host_path: true
- read_only: true
source: ${DOCKER_VOLUME_CONFIG}/plausible/clickhouse/clickhouse-config.xml
target: /etc/clickhouse-server/config.d/logging.xml
type: bind
bind:
create_host_path: true
- read_only: true
source: ${DOCKER_VOLUME_CONFIG}/plausible/clickhouse/clickhouse-user-config.xml
target: /etc/clickhouse-server/users.d/logging.xml
type: bind
bind:
create_host_path: true
portainer: portainer:
command: command:
- -H - -H