appstore-1panel/apps/mongodb/7.0.3/docker-compose.yml
renovate[bot] 48355ded33
chore(deps): update mongo docker tag to v7.0.3 (#598)
* chore(deps): update mongo docker tag to v7.0.3

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2023-11-17 13:43:17 +08:00

20 lines
452 B
YAML

version: '3'
services:
mongodb:
container_name: ${CONTAINER_NAME}
image: mongo:7.0.3
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: ${PANEL_DB_ROOT_USER}
MONGO_INITDB_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:27017
volumes:
- ./data:/data/db
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true