Delete ubuntu/overleafmongo directory

This commit is contained in:
David Rotermund 2024-07-13 04:03:16 +02:00 committed by GitHub
parent 12faeeb8a5
commit 36bef37f14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 32 deletions

View file

@ -1 +0,0 @@

View file

@ -1,31 +0,0 @@
# docker network create overleaf-network
services:
overleafmongo:
image: "mongo:5.0"
container_name: overleafmongo
hostname: overleafmongo
restart: always
healthcheck:
test: "mongosh --quiet --eval 'rs.hello().setName ? rs.hello().setName : rs.initiate({_id: \"overleaf\",members:[{_id: 0, host:\"overleafmongo:27017\"}]})'"
interval: 10s
timeout: 10s
retries: 5
command: "--replSet overleaf"
expose:
- 27017
volumes:
- overleaf_mongo:/data/db
- overleaf_mongo_cdb:/data/configdb
networks:
- overleaf-network
extra_hosts:
- "mongo:127.0.0.1"
- "overleafmongo:127.0.0.1"
volumes:
overleaf_mongo:
overleaf_mongo_cdb:
networks:
overleaf-network:
external: true