Используем фиксированные имена для собираемых images, т.к. они могут конфликтовать с другими проектами

This commit is contained in:
ErickSkrauch 2016-11-20 16:35:00 +03:00
parent 4a8dd2492e
commit c8981e4b0b

View File

@ -2,6 +2,7 @@ version: '2'
services: services:
testphp: testphp:
container_name: accountelyby_testphp container_name: accountelyby_testphp
image: account_testphp
build: build:
context: ../ context: ../
dockerfile: Dockerfile-dev dockerfile: Dockerfile-dev
@ -23,6 +24,7 @@ services:
testdb: testdb:
container_name: accountelyby_testdb container_name: accountelyby_testdb
image: account_testdb
build: ./../docker/mariadb build: ./../docker/mariadb
environment: environment:
MYSQL_ROOT_PASSWORD: "" MYSQL_ROOT_PASSWORD: ""