-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-mutagen.yml
38 lines (37 loc) · 1 KB
/
docker-compose-mutagen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
volumes:
app:
services:
app:
build:
context: ./build
dockerfile: Dockerfile-php-dev-$APP_HOST_CPU
args:
APP_USER_ID: $APP_USER_ID
APP_GROUP_ID: $APP_GROUP_ID
image: optimus-prime-$APP_HOST_CPU-php
container_name: optimus-prime-app
hostname: optimus-prime-app
working_dir: /app
command: /usr/bin/bash
tty: true
volumes:
- app:/app
x-mutagen:
sync:
defaults:
ignore:
paths:
- .idea/
- .git/
- var/*
mode: two-way-resolved
permissions:
defaultFileMode: "0644"
defaultDirectoryMode: "0755"
configurationBeta:
permissions:
defaultOwner: id:$APP_USER_ID
defaultGroup: id:$APP_GROUP_ID
app:
alpha: "."
beta: "volume://app"