Created
August 27, 2020 14:36
-
-
Save romaricdrigon/17976a87dd38ca57e7f40322966dc041 to your computer and use it in GitHub Desktop.
Using Mutagen Compose
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
version: '3.7' | |
volumes: | |
appdata: ~ | |
code: ~ | |
services: | |
php: | |
volumes: | |
- code:/var/www/html | |
- appdata:/var/www/html/var/cache | |
- appdata:/var/www/html/var/log | |
# Setting up Mutagen synchronization | |
x-mutagen: | |
sync: | |
defaults: | |
ignore: | |
vcs: true | |
permissions: | |
defaultFileMode: 0644 | |
defaultDirectoryMode: 0755 | |
symlink: | |
mode: "posix-raw" # Required with Symfony | |
code: | |
alpha: "." | |
beta: "volume://code" | |
mode: "two-way-resolved" | |
ignore: | |
paths: | |
- "/var/cache" | |
- "/var/log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment