From b6d4ba340cb9121354ed899a639f5530e482d121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zaj=C4=85c?= Date: Tue, 6 Oct 2020 17:58:16 +0200 Subject: [PATCH] Use docker-compose.override.yml for default setup --- .gitignore | 1 + docker-compose.override.yml | 11 +++++++++++ docker-compose.yml | 6 ------ 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 .gitignore create mode 100644 docker-compose.override.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30e031f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +docker-compose.custom.yml diff --git a/docker-compose.override.yml b/docker-compose.override.yml new file mode 100644 index 0000000..fef6127 --- /dev/null +++ b/docker-compose.override.yml @@ -0,0 +1,11 @@ +version: "3.3" +services: + plausible_db: + ports: + - 5432:5432 + plausible_events_db: + ports: + - 8123:8123 + plausible: + ports: + - 80:8000 diff --git a/docker-compose.yml b/docker-compose.yml index b27d5c1..c1ecae3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,8 +10,6 @@ services: - db-data:/var/lib/postgresql/data environment: - POSTGRES_PASSWORD=postgres - ports: - - 5432:5432 plausible_events_db: image: yandex/clickhouse-server:latest @@ -21,8 +19,6 @@ services: nofile: soft: 262144 hard: 262144 - ports: - - 8123:8123 plausible: image: plausible/analytics:latest @@ -31,8 +27,6 @@ services: - plausible_db - plausible_events_db - mail - ports: - - 80:8000 links: - plausible_db - plausible_events_db