sync: migrate konturai-mongodb to Gitea (2026-08-10)

This commit is contained in:
konturai-ops
2026-08-10 15:26:57 +00:00
commit 2cef860cc7
2 changed files with 33 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
name: konturai-mongodb
services:
mongodb:
image: mongo:8.2.7
container_name: my-mongodb
restart: unless-stopped
env_file:
- .env
ports:
- "127.0.0.1:27017:27017"
volumes:
- mongodb_data:/data/db
networks:
common_network:
aliases:
- mongodb
healthcheck:
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')"]
interval: 10s
timeout: 5s
retries: 5
start_period: 20s
volumes:
mongodb_data:
name: mongodb_data
networks:
common_network:
external: true