mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 15:58:48 +08:00
19 lines
440 B
YAML
19 lines
440 B
YAML
services:
|
|
mongodb:
|
|
container_name: ${CONTAINER_NAME}
|
|
image: mongo:6.0.15
|
|
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 |