Skip to content
Merged
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
4 changes: 3 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ services:
soft: 65536
hard: 65536
healthcheck:
test: mongosh --quiet --host 127.0.0.1 --port 27017 --eval 'db.adminCommand("ping")'
test: mongosh --quiet --host 127.0.0.1 --port 27017 -u ${MONGO_USER:-root} -p ${MONGO_PASSWORD:-rootpassword} --authenticationDatabase admin --eval 'db.adminCommand("ping")'
Comment thread
HardMax71 marked this conversation as resolved.
Comment thread
HardMax71 marked this conversation as resolved.
interval: 3s
timeout: 5s
retries: 15
Expand Down Expand Up @@ -311,6 +311,8 @@ services:
DEFAULT_USER_PASSWORD: ${DEFAULT_USER_PASSWORD:-user123}
ADMIN_USER_PASSWORD: ${ADMIN_USER_PASSWORD:-admin123}
volumes:
- ./backend/app:/app/app:ro
- ./backend/scripts:/app/scripts:ro
- ./backend/config.toml:/app/config.toml:ro
command: ["python", "-m", "scripts.seed_users"]
networks:
Expand Down
Loading