Move clickhouse off ZFS

For some reason, they really don't play well together!
This commit is contained in:
Jake Howard 2020-10-03 17:18:11 +01:00
parent 68bda30cb2
commit 4c40faf21d
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 5 additions and 5 deletions

View file

@ -31,9 +31,9 @@ services:
image: yandex/clickhouse-server:latest image: yandex/clickhouse-server:latest
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /mnt/tank/dbs/clickhouse/plausible:/var/lib/clickhouse - ./clickhouse:/var/lib/clickhouse
- /mnt/tank/dbs/clickhouse/docker_related_config.xml:/etc/clickhouse-server/config.d/docker_related_config.xml:ro - ./docker_related_config.xml:/etc/clickhouse-server/config.d/docker_related_config.xml:ro
- /mnt/tank/dbs/clickhouse/docker_related_user_config.xml:/etc/clickhouse-server/users.d/docker_related_user_config.xml:ro - ./docker_related_user_config.xml:/etc/clickhouse-server/users.d/docker_related_user_config.xml:ro
tmpfs: tmpfs:
- /var/log/clickhouse-server - /var/log/clickhouse-server
ulimits: ulimits:

View file

@ -9,7 +9,7 @@
- name: Install clickhouse config - name: Install clickhouse config
template: template:
src: files/clickhouse-config.xml src: files/clickhouse-config.xml
dest: /mnt/tank/dbs/clickhouse/docker_related_config.xml dest: /opt/plausible/docker_related_config.xml
mode: "0644" mode: "0644"
notify: restart plausible notify: restart plausible
become: true become: true
@ -17,7 +17,7 @@
- name: Install clickhouse user config - name: Install clickhouse user config
template: template:
src: files/clickhouse-user-config.xml src: files/clickhouse-user-config.xml
dest: /mnt/tank/dbs/clickhouse/docker_related_user_config.xml dest: /opt/plausible/docker_related_user_config.xml
mode: "0644" mode: "0644"
notify: restart plausible notify: restart plausible
become: true become: true