-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merges docker optimizations from develop branch
- Loading branch information
David Neudorfer
committed
Jan 25, 2017
1 parent
a2ee1f7
commit 7ba595b
Showing
4 changed files
with
28 additions
and
34 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: '2' | ||
|
||
services: | ||
|
||
db: | ||
cpu_shares: 2 | ||
cpuset: 0-1 | ||
|
||
app: | ||
environment: | ||
- VIRTUAL_HOST=tasks.dev | ||
|
||
web: | ||
image: jwilder/nginx-proxy | ||
ports: | ||
- 80:80 | ||
volumes: | ||
- /var/run/docker.sock:/tmp/docker.sock:ro | ||
networks: | ||
- code_network |
This file contains 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
This file contains 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
This file contains 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