forked from gathering/wannabe4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.tooling.yml
28 lines (27 loc) · 992 Bytes
/
docker-compose.tooling.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
version: "3.5"
services:
# Tooling is basically just app container for development but with;
# - Bash instead of php runtime
# - Entrypoint which doesn't modify any files under app context (see `tooling-entrypoint` file)
tooling:
build:
context: ./
target: development
args:
- GIT_BRANCH=master
entrypoint: "tooling-entrypoint"
command: "bash"
# volumes:
# Mount production or development app folder if you need access to change/read runtime files
# - app-app:/var/www/html/wannabe/app
# - ./:var/www/html/wannabe/app
# And configuration files
# - ./app/Config:/var/www/html/wannabe/app/Config:ro
# - ./migrate/db-config.sh:/var/www/html/wannabe/migrate/db-config.sh:ro
# - ./migrate/.simple-db-migrate.conf:/var/www/html/wannabe/migrate/.simple-db-migrate.conf:ro
networks:
- wannabe_public
- wannabe_internal
environment:
- APP_ENV=development
- LOG_ENGINE=console