Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- mongo:
- image: mongo:3.2
- volumes:
- - /etc/timezone:/etc/timezone
- - /etc/localtime:/etc/localtime
- - /STORAGE/coinfolio/mongo:/data/db
- command:
- - mongod
- - --smallfiles
- node:
- image: registry.lykew.com/valentin/coinfolio:0.0.2
- environment:
- APP_COINS_PER_PAGE: '25'
- APP_DEBUG: 'true'
- APP_LOG_FOLDER: /logs
- APP_MONGO_HOST: mongo
- APP_PORT: '80'
- APP_TMP_FOLDER: /tmp
- volumes:
- - /etc/timezone:/etc/timezone
- - /etc/localtime:/etc/localtime
- - /STORAGE/coinfolio/logs:/logs
- links:
- - mongo:mongo
- ports:
- - 8224:80/tcp
- labels:
- io.rancher.container.pull_image: always
- mongoexpress:
- image: mongo-express:latest
- environment:
- ME_CONFIG_BASICAUTH_PASSWORD: pass
- ME_CONFIG_BASICAUTH_USERNAME: admin
- ME_CONFIG_MONGODB_ENABLE_ADMIN: 'true'
- ME_CONFIG_MONGODB_PORT: '27017'
- ME_CONFIG_MONGODB_SERVER: mongo
- ME_CONFIG_OPTIONS_EDITORTHEME: default
- volumes:
- - /etc/timezone:/etc/timezone
- - /etc/localtime:/etc/localtime
- links:
- - mongo:mongo
- ports:
- - 8882:8081/tcp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement