Skip to content

Commit 58f0e1d

Browse files
authored
Merge pull request #26 from rm-yakovenko/22-Create_app_base
22 Create app_base service for inheritance
2 parents 896fa99 + c23f0a8 commit 58f0e1d

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)