Skip to content

Commit

Permalink
DAT-14741. updated docker-compose file. changed url in harness-config…
Browse files Browse the repository at this point in the history
….yml. (#365)

* DAT-14741. updated docker-compose file

* DAT-14741. changed url in harness-config.yml
  • Loading branch information
PavloTytarchuk authored May 11, 2023
1 parent 4a0b8f0 commit bdba460
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
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:

0 comments on commit bdba460

Please sign in to comment.