mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
da28eaf454
#ci_set_integration
44 lines
1.7 KiB
YAML
44 lines
1.7 KiB
YAML
version: '2.3'
|
|
services:
|
|
postgres2:
|
|
image: postgres
|
|
command: ["postgres", "-c", "logging_collector=on", "-c", "log_directory=/postgres/logs", "-c", "log_filename=postgresql.log", "-c", "log_statement=all"]
|
|
restart: always
|
|
environment:
|
|
POSTGRES_HOST_AUTH_METHOD: "trust"
|
|
POSTGRES_PASSWORD: mysecretpassword
|
|
PGDATA: /postgres/data
|
|
expose:
|
|
- ${POSTGRES_PORT:-5432}
|
|
volumes:
|
|
- type: ${POSTGRES_LOGS_FS:-tmpfs}
|
|
source: ${POSTGRES2_DIR:-}
|
|
target: /postgres/
|
|
postgres3:
|
|
image: postgres
|
|
command: ["postgres", "-c", "logging_collector=on", "-c", "log_directory=/postgres/logs", "-c", "log_filename=postgresql.log", "-c", "log_statement=all"]
|
|
restart: always
|
|
environment:
|
|
POSTGRES_HOST_AUTH_METHOD: "trust"
|
|
POSTGRES_PASSWORD: mysecretpassword
|
|
PGDATA: /postgres/data
|
|
expose:
|
|
- ${POSTGRES_PORT:-5432}
|
|
volumes:
|
|
- type: ${POSTGRES_LOGS_FS:-tmpfs}
|
|
source: ${POSTGRES3_DIR:-}
|
|
target: /postgres/
|
|
postgres4:
|
|
image: postgres
|
|
command: ["postgres", "-c", "logging_collector=on", "-c", "log_directory=/postgres/logs", "-c", "log_filename=postgresql.log", "-c", "log_statement=all"]
|
|
restart: always
|
|
environment:
|
|
POSTGRES_HOST_AUTH_METHOD: "trust"
|
|
POSTGRES_PASSWORD: mysecretpassword
|
|
PGDATA: /postgres/data
|
|
expose:
|
|
- ${POSTGRES_PORT:-5432}
|
|
volumes:
|
|
- type: ${POSTGRES_LOGS_FS:-tmpfs}
|
|
source: ${POSTGRES4_DIR:-}
|
|
target: /postgres/ |