docker-compose.yml (514B)
1version: '2.1' 2services: 3 fireworx-checker: 4 build: . 5 ports: 6 - 1813:1813 7 environment: 8 - MONGO_ENABLED=1 9 - MONGO_HOST=fireworx-mongo 10 - MONGO_PORT=1814 11 - MONGO_USER=fireworx_checker 12 - MONGO_PASSWORD=fireworx_checker 13 fireworx-mongo: 14 image: mongo 15 command: mongod --port 1814 16 volumes: 17 - ./data:/data/db 18 ports: 19 - 1814:1814 20 environment: 21 MONGO_INITDB_ROOT_USERNAME: fireworx_checker 22 MONGO_INITDB_ROOT_PASSWORD: fireworx_checker