Skip to content

Commit

Permalink
fix: run pnpm in docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
PiluVitu committed Sep 12, 2024
1 parent beeb851 commit a3b3a01
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ services:
MONGO_REPLICA_HOST: 127.0.0.1
MONGO_REPLICA_PORT: 27017
# Use "mongosh" instead of "mongo" for v5+
MONGO_COMMAND: "mongo"
MONGO_COMMAND: 'mongo'

ports:
- "27017:27017"
- '27017:27017'
restart: unless-stopped
healthcheck:
# Use "mongosh" instead of "mongo" for v5+
test:
[
"CMD",
"mongo",
"admin",
"--port",
"27017",
"--eval",
'CMD',
'mongo',
'admin',
'--port',
'27017',
'--eval',
"db.adminCommand('ping').ok",
]
interval: 5s
Expand All @@ -45,7 +45,7 @@ services:
profiles:
- prod
ports:
- "${PORT}:${PORT}"
- '${PORT}:${PORT}'
networks:
- octopost

Expand Down

0 comments on commit a3b3a01

Please sign in to comment.