Skip to content

Instantly share code, notes, and snippets.

@gnawux
Created February 6, 2017 02:21
Show Gist options
  • Save gnawux/32066e5dabe66f0a0e9c58f1385fe7fb to your computer and use it in GitHub Desktop.
Save gnawux/32066e5dabe66f0a0e9c58f1385fe7fb to your computer and use it in GitHub Desktop.
hyper compose file with noauto_volume option
version: '2'
services:
web:
image: wordpress:latest
links:
- db:mysql
depends_on:
- db
db:
image: mysql:latest
noauto_volume: true
environment:
- MYSQL_ROOT_PASSWORD=my-secret-pw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment