Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushroshan authored Aug 28, 2024
1 parent f2c312e commit b1b70c2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ services:
crapi-identity:
container_name: crapi-identity
image: crapi/crapi-identity:${VERSION:-latest}
ports:
- "${LISTEN_IP:-127.0.0.1}:8080:8080"
#ports:
# - "${LISTEN_IP:-127.0.0.1}:8080:8080"
volumes:
- ./keys:/keys
environment:
Expand Down Expand Up @@ -188,8 +188,8 @@ services:
POSTGRES_USER: admin
POSTGRES_PASSWORD: crapisecretpassword
POSTGRES_DB: crapi
ports:
- "${LISTEN_IP:-127.0.0.1}:5432:5432"
#ports:
# - "${LISTEN_IP:-127.0.0.1}:5432:5432"
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 15s
Expand All @@ -209,8 +209,8 @@ services:
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: crapisecretpassword
ports:
- "${LISTEN_IP:-127.0.0.1}:27017:27017"
#ports:
# - "${LISTEN_IP:-127.0.0.1}:27017:27017"
healthcheck:
test: echo 'db.runCommand("ping").ok' | mongo mongodb:27017/test --quiet
interval: 15s
Expand Down

0 comments on commit b1b70c2

Please sign in to comment.