Last active
June 9, 2016 10:09
-
-
Save james-nesbitt/5ce1f7e2951cccf9d146fcd5147ed087 to your computer and use it in GitHub Desktop.
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
# WunderTools docker-compose | |
# | |
version: "2" | |
services: | |
#### | |
# Source | |
# | |
source: | |
image: quay.io/wunder/client-fi-wkfi-source:master | |
command: | |
- /bin/true | |
volumes: | |
- "/app/web" | |
- "/app/vendor" | |
- "/app/config" | |
#### | |
# Assets | |
# | |
assets: | |
image: quay.io/wunder/client-fi-wkfi-assets:master | |
command: | |
- /bin/true | |
volumes: | |
- "assets/files:/app/web/sites/default/files" | |
- "assets/private:/app/private" | |
- "db-data:/var/lib/mysql" | |
#### | |
# DB node | |
# | |
db: | |
image: quay.io/wunder/wundertools-image-fuzzy-mariadb | |
volumes-from: | |
- assets | |
#### | |
# MemCacheD | |
# | |
memcache: | |
image: quay.io/wunder/alpine-memcached | |
#### | |
# FPM node | |
# | |
fpm: | |
image: quay.io/wunder/wundertools-image-fuzzy-php | |
volumes_from: | |
- source:ro | |
- assets | |
links: | |
- db:db.app | |
- memcache:memcached.app | |
#### | |
# WWW node | |
# | |
www: | |
image: quay.io/wunder/wundertools-image-fuzzy-nginx | |
volumes_from: | |
- source:ro | |
- assets | |
links: | |
- fpm:fpm.app | |
#### | |
# Static cache service | |
# | |
varnish: | |
image: quay.io/wunder/alpine-varnish | |
environment: | |
VARNISH_BACKEND_HOST: backend.app | |
links: | |
- www:backend.app | |
volumes: | |
db-data: | |
assets: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment