File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
modules/container/types/service/plausible Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ DISABLE_REGISTRATION=false
203203 await this . createEnvFile ( container ) ;
204204 }
205205 await this . clonePlausibleRepo ( container ) ;
206- compose = getPlausible ( container ) ;
206+ compose = getPlausible ( container , this . getPath ( container ) ) ;
207207 break ;
208208 case ContainerType . CUSTOM :
209209 compose = container . customDockerCompose ;
Original file line number Diff line number Diff line change 11import { Container } from "../../../container.model" ;
22
3- export function getPlausible ( container : Container ) : string {
3+ export function getPlausible ( container : Container , basePath : string ) : string {
44 return `
55networks:
66 traefik-public:
@@ -33,9 +33,9 @@ services:
3333 volumes:
3434 - clickhouseData:/var/lib/clickhouse
3535 - clickhouseLogs:/var/log/clickhouse-server
36- - . /plausible-ce/clickhouse/logs.xml:/etc/clickhouse-server/config.d/logs.xml:ro
37- - . /plausible-ce/clickhouse/ipv4-only.xml:/etc/clickhouse-server/config.d/ipv4-only.xml:ro
38- - . /plausible-ce/clickhouse/low-resources.xml:/etc/clickhouse-server/config.d/low-resources.xml:ro
36+ - ${ basePath } /plausible-ce/clickhouse/logs.xml:/etc/clickhouse-server/config.d/logs.xml:ro
37+ - ${ basePath } /plausible-ce/clickhouse/ipv4-only.xml:/etc/clickhouse-server/config.d/ipv4-only.xml:ro
38+ - ${ basePath } /plausible-ce/clickhouse/low-resources.xml:/etc/clickhouse-server/config.d/low-resources.xml:ro
3939 environment:
4040 CLICKHOUSE_SKIP_USER_SETUP: "1"
4141 ulimits:
You can’t perform that action at this time.
0 commit comments