Remove deprecated MongoDB compose from databases VM
Unifi stack runs entirely on network-services (.121) now
This commit is contained in:
parent
8b46587b01
commit
ee7c9937b9
1 changed files with 0 additions and 28 deletions
|
|
@ -1,28 +0,0 @@
|
|||
services:
|
||||
unifi-db:
|
||||
image: docker.io/mongo:4.4.29
|
||||
container_name: unifi-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- MONGO_INITDB_ROOT_USERNAME=root
|
||||
- MONGO_INITDB_ROOT_PASSWORD=rootpassword
|
||||
- MONGO_INITDB_DATABASE=unifi
|
||||
volumes:
|
||||
- /mnt/nas/docker/unifi/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
|
||||
- /mnt/nas/docker/unifi/db:/data/db
|
||||
ports:
|
||||
- "27017:27017"
|
||||
networks:
|
||||
- database
|
||||
labels:
|
||||
- "autoheal=true"
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
cpus: '1.0'
|
||||
|
||||
networks:
|
||||
database:
|
||||
external: true
|
||||
Loading…
Reference in a new issue