First push from proxy (docker host) to gitea
This commit is contained in:
commit
a69fa8cc56
25 changed files with 781 additions and 0 deletions
22
mongodb/docker-compose.yml
Normal file
22
mongodb/docker-compose.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue