Skip to content

Commit

Permalink
version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
flyhigher139 committed Sep 4, 2016
1 parent c5db709 commit 5e7c6f9
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
blog:
# restart: always
build: ./app
# image: gevin/octblog:0.2.4.2
ports:
- "8000:8000"
links:
- mongo:mongo
# volumes:
# - /usr/src/app/static
env_file: .env
version: '2'
services:
blog:
# restart: always
# build: ./app
image: gevin/octblog:0.1
ports:
- "8000:8000"
links:
- mongo:mongo
# volumes:
# - /usr/src/app/static
env_file: .env

mongo:
# restart: always
image: mongo:latest
env_file: .env
mongo:
# restart: always
image: mongo:latest
env_file: .env

volumes:
- /data/db
volumes:
- /data/db

0 comments on commit 5e7c6f9

Please sign in to comment.