mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 17:04:27 +01:00
add env 'DOCKER_VOLUME_STORAGE' for volume path customization
This commit is contained in:
@@ -11,7 +11,7 @@ services:
|
||||
restart: always
|
||||
container_name: plausible-db
|
||||
volumes:
|
||||
- /mnt/docker-volumes/plausible/database/:/var/lib/postgresql/data
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/database/:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
|
||||
@@ -20,9 +20,9 @@ services:
|
||||
image: clickhouse/clickhouse-server:22.6-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- /mnt/docker-volumes/plausible/event-data:/var/lib/clickhouse
|
||||
- /mnt/docker-volumes/plausible/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
|
||||
- /mnt/docker-volumes/plausible/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/event-data:/var/lib/clickhouse
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 262144
|
||||
|
||||
Reference in New Issue
Block a user