forked from alexandru-slobodcicov/liquibase-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAT-14741. updated docker-compose file. changed url in harness-config…
….yml. (#365) * DAT-14741. updated docker-compose file * DAT-14741. changed url in harness-config.yml
- Loading branch information
1 parent
4a0b8f0
commit bdba460
Showing
2 changed files
with
8 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters