First push from proxy (docker host) to gitea

This commit is contained in:
root 2023-05-08 16:35:25 +00:00
commit a69fa8cc56
25 changed files with 781 additions and 0 deletions

View file

@ -0,0 +1,22 @@
version: '3'
services:
nosqldb:
image: mongo:5
container_name: mongodb
hostname: nosqldb
restart: always
networks:
- backend
volumes:
- /root/mongodb/data/mongo_data:/data/db
healthcheck:
test: ["CMD-SHELL", "echo 'db.stats().ok' | mongo localhost:27017/test --quiet"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s
networks:
backend:
external: true