-
docker-compose.yml
version: "3" services: mongo: image: mongo:3 container_name: mongo networks: - yapi environment: - MONGO_INITDB_ROOT_USERNAME=yapi - MONGO_INITDB_ROOT_PASSWORD=yapi - MONGO_INITDB_DATABASE=yapi volumes: - ./mongo-data:/data/db yapi: image: wyntau/ymfe-yapi container_name: yapi depends_on: - mongo ports: - "3000:3000" networks: - yapi volumes: - ./config.json:/app/config.json - ./yapi-runtime:/app/runtime networks: yapi:
-
config.json
{ "port": "3000", "adminAccount": "[email protected]", "db": { "servername": "mongo", "DATABASE": "yapi", "port": 27017, "user": "yapi", "pass": "yapi", "authSource": "admin" } }
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
wyntau/docker-ymfe-yapi
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published