Created
June 23, 2016 15:01
-
-
Save ivanursul/8a831dff2a7a7a27b7eb85ebc5f24f2f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
service: | |
build: . | |
container_name: service | |
environment: | |
spring.data.mongodb.host: how-to ? | |
ports: | |
- "8080:8080" | |
depends_on: | |
- mongo | |
mongo: | |
image: mongo | |
environment: | |
MONGODB_USER: "admin" | |
MONGODB_DATABASE: "queued" | |
MONGODB_PASS: "admin" | |
volumes_from: | |
- mongodata | |
mongodata: | |
image: mongo | |
volumes: | |
- /home/dbdata/mongodb:/data/db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment