Edit container namen für php

main
Alex 2 years ago
parent a635cbdc49
commit 2e09f7d4fe

@ -21,7 +21,7 @@ services:
volumes: volumes:
- ./src:/var/www/html:delegated - ./src:/var/www/html:delegated
depends_on: depends_on:
- php_mtc - php
- redis_mtc - redis_mtc
- db_mtc - db_mtc
- mailhog_mtc - mailhog_mtc
@ -57,14 +57,14 @@ services:
#- ./pgadmindata:/var/lib/pgadmin #- ./pgadmindata:/var/lib/pgadmin
networks: networks:
- mtc_net - mtc_net
php_mtc: php:
build: build:
context: ./dockerfiles context: ./dockerfiles
dockerfile: php.root.dockerfile dockerfile: php.root.dockerfile
args: args:
- UID=${UID:-1000} - UID=${UID:-1000}
- GID=${GID:-1000} - GID=${GID:-1000}
container_name: php_mtc container_name: php
ports: ports:
- "9000:9000" - "9000:9000"
volumes: volumes:
@ -92,7 +92,7 @@ services:
volumes: volumes:
- ./src:/var/www/html - ./src:/var/www/html
depends_on: depends_on:
- php_mtc - php
entrypoint: [ 'composer', '--ignore-platform-reqs' ] entrypoint: [ 'composer', '--ignore-platform-reqs' ]
networks: networks:
- mtc_net - mtc_net

Loading…
Cancel
Save