Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAT-14741. updated docker-compose file. changed url in harness-config.yml. #365

Merged
merged 2 commits into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 7 additions & 20 deletions src/test/resources/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
version: "3"
version: '3.1'

services:
postgres:
image: postgres
container_name: postgres
ports:
- 5432:5432
environment:
- POSTGRES_USER=lbuser
- POSTGRES_PASSWORD=LiquibasePass1
- POSTGRES_DB=lbcat

ferretdb:
image: ghcr.io/ferretdb/ferretdb:latest
container_name: ferretdb
restart: on-failure
mongo:
image: mongo:latest
ports:
- 27017:27017
- "27017:27017"
environment:
- FERRETDB_POSTGRESQL_URL=postgres://lbcat:LiquibasePass1@postgres:5432/lbcat

networks:
default:
name: ferretdb
MONGO_INITDB_DATABASE: lbcat
volumes:
- ./init-mongo.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
2 changes: 1 addition & 1 deletion src/test/resources/harness-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ context: testContext
databasesUnderTest:
- name: mongodb
version:
url: mongodb://lbuser:LiquibasePass1@localhost:27017/lbcat?authMechanism=PLAIN&authSource=admin
url: mongodb://lbuser:LiquibasePass1@localhost:27017/lbcat
username:
password: