Created
June 13, 2016 11:23
-
-
Save james-nesbitt/2c24dc09373c752732840475849155ef to your computer and use it in GitHub Desktop.
WKFI: PROD: Docker-Compose YML
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 | |
# | |
#### | |
# 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: | |
- "/var/lib/mysql" | |
- "/app/web/sites/default/files" | |
- "/app/private" | |
- "/app/backup" | |
#### | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment