yswdqz commented on code in PR #9937:
URL: https://github.com/apache/skywalking/pull/9937#discussion_r1019021972
##########
test/e2e-v2/cases/postgresql/postgres-exporter/docker-compose.yml:
##########
@@ -43,14 +43,44 @@ services:
command: postgres -c config_file=/etc/postgresql.conf
volumes:
- ./postgresql.conf:/etc/postgresql.conf
- - ./data:/var/lib/postgresql/data
networks:
- e2e
healthcheck:
test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/5432"]
interval: 5s
timeout: 60s
retries: 120
+ postgres_2:
+ image: postgres:14.1
+ environment:
+ - TZ=Asia/Shanghai
+ - POSTGRES_PASSWORD=123456
+ - POSTGRES_DB=skywalking
+ ports:
+ - 5432
+ command: postgres -c config_file=/etc/postgresql.conf
+ volumes:
+ - ./postgresql.conf:/etc/postgresql.conf
+ networks:
+ - e2e
+ healthcheck:
+ test: [ "CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/5432"
]
+ interval: 5s
+ timeout: 60s
+ retries: 120
+ postgres_3:
+ image: postgres:14.1
+ environment:
+ - TZ=Asia/Shanghai
+ - POSTGRES_PASSWORD=123456
+ - POSTGRES_DB=skywalking
+ ports:
+ - 5432
+ command: postgres -c config_file=/etc/postgresql.conf
+ volumes:
+ - ./postgresql.conf:/etc/postgresql.conf
+ networks:
+ - e2e
Review Comment:
Got it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]