services:
  nginx:
    extends:
      file: docker-compose.base.yml
      service: nginx
    networks:
      default:
        aliases:
          - someproject.local.wpstudio.ru
    depends_on:
      - php74
      - php81
  php74:
    extends:
      file: docker-compose.base.yml
      service: php
    build:
      dockerfile: php74.Dockerfile
  php81:
    extends:
      file: docker-compose.base.yml
      service: php
    build:
      dockerfile: php81.Dockerfile
  php82:
    extends:
      file: docker-compose.base.yml
      service: php
    build:
      dockerfile: php82.Dockerfile
  php83:
    extends:
      file: docker-compose.base.yml
      service: php
    build:
      dockerfile: php83.Dockerfile
  php84:
    extends:
      file: docker-compose.base.yml
      service: php
    build:
      dockerfile: php84.Dockerfile
  workspace74:
    extends:
      file: docker-compose.base.yml
      service: workspace
    build:
      dockerfile: workspace74.Dockerfile
  workspace81:
    extends:
      file: docker-compose.base.yml
      service: workspace
    build:
      dockerfile: workspace81.Dockerfile
  workspace82:
    extends:
      file: docker-compose.base.yml
      service: workspace
    build:
      dockerfile: workspace82.Dockerfile
  workspace83:
    extends:
      file: docker-compose.base.yml
      service: workspace
    build:
      dockerfile: workspace83.Dockerfile
  workspace84:
    extends:
      file: docker-compose.base.yml
      service: workspace
    build:
      dockerfile: workspace84.Dockerfile
  inbucket:
    extends:
      file: docker-compose.base.yml
      service: inbucket
    ports:
      - "82:9000"

secrets:
  user_ssh_key:
    file: ~/.ssh/id_rsa
  user_known_hosts:
    file: ~/.ssh/known_hosts
  composer_auth:
    # If in your system installed Composer V1 use ~/.composer/auth.json
    file: ~/.config/composer/auth.json
