-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-mutagen.yml
35 lines (33 loc) · 1.04 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
version: '3.4'
services:
mutagen:
container_name: ${COMPOSE_PROJECT_NAME:-unnamed}_mutagen_${COMPOSE_PROJECT_PHP_VERSION:-8.0}_${COMPOSE_PROJECT_NODE_VERSION:-14.21.1}
build:
context: "${COMPOSE_PROJECT_CONFIG_DIR:-.}/docker/php-node-akeneo6"
args:
PHP_VERSION: ${COMPOSE_PROJECT_PHP_VERSION:-8.0}
NODE_VERSION: ${COMPOSE_PROJECT_NODE_VERSION:-14.21.1}
PHP_USER_NAME: ${COMPOSE_PROJECT_PHP_USER_NAME:-developer}
PHP_USER_GROUP: ${COMPOSE_PROJECT_PHP_USER_GROUP:-developer}
PHP_UID: ${COMPOSE_PROJECT_PHP_UID:-1000}
PHP_GID: ${COMPOSE_PROJECT_PHP_GID:-1000}
user: "${COMPOSE_PROJECT_USER_NAME:-developer}"
volumes:
- 'appcode:/var/www'
command: "bash -c 'chmod 0777 /var/www; sleep infinity'"
working_dir: '/var/www'
networks:
- 'appnet'
restart: always
logging:
driver: "json-file"
options:
max-size: "10m"
cli:
depends_on:
mutagen:
condition: service_started
volumes:
appcode:
driver: local
driver_opts: {}