Commit f7e85792 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Réparation du docker-compose

parent ba2b1bcb
Loading
Loading
Loading
Loading
+31 −2
Changes for docker-compose.yml: 31 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ services:
    environment:
      APPLICATION_ENV: dev
      APPLICATION_HOSTNAME: ose-dev.pc-local
      XDEBUG_CONFIG: "remote_host=172.21.0.15"
      XDEBUG_CONFIG: "remote_host=172.21.0.10"
      PHP_IDE_CONFIG: "serverName=ose-dev.pc-local"

    build:
@@ -31,8 +31,37 @@ services:

    networks:
      devnet:
        ipv4_address: 172.21.0.15
        ipv4_address: 172.21.0.10



  ose-test:
    container_name: ose-test

    environment:
      APPLICATION_ENV: test
      APPLICATION_HOSTNAME: ose-test.pc-local
      XDEBUG_CONFIG: "remote_host=172.21.0.15"
      PHP_IDE_CONFIG: "serverName=ose-test.pc-local"

  build:
    context: .
    dockerfile: Dockerfile
    args:
      PHP_VERSION: 8.0
      APPLICATION_ENV: test

  volumes:
    - .:/app

    working_dir: /app

    extra_hosts:
      - "host.docker.internal:host-gateway"

    networks:
      devnet:
        ipv4_address: 172.21.0.15