Skip to content

Commit c23f0a8

Browse files
committed
22 Create app_base service for inheritance
1 parent 896fa99 commit c23f0a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@ services:
1212
volumes:
1313
- /etc/localtime:/etc/localtime:ro
1414

15-
app:
15+
app_base:
1616
build:
1717
context: ./docker/app
1818
args:
1919
- XDEBUG
2020
working_dir: /var/www/app
2121
environment:
2222
- CONTAINER_USER
23+
24+
app:
25+
extends: app_base
2326
links:
2427
- redis
2528
- db

0 commit comments

Comments
 (0)