Ensure plausible is restarted on error

This commit is contained in:
Jake Howard 2020-08-04 19:38:01 +01:00
parent 969b0bd8d9
commit c435ad1ba8
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -3,6 +3,7 @@ version: "2.3"
services: services:
plausible: plausible:
image: plausible/analytics:latest image: plausible/analytics:latest
restart: unless-stopped
depends_on: depends_on:
- db - db
- clickhouse - clickhouse
@ -28,6 +29,7 @@ services:
clickhouse: clickhouse:
image: yandex/clickhouse-server:latest image: yandex/clickhouse-server:latest
restart: unless-stopped
volumes: volumes:
- ./clickhouse:/var/lib/clickhouse - ./clickhouse:/var/lib/clickhouse
ulimits: ulimits: