version: '3'

services:
  app_config_service_dev:
    image: harbor.caihongxingqiu.com:9401/library/php:latest
    tty: true
    working_dir: /var/www
    volumes:
      - ./:/var/www
      - ./deploy/php/local.ini:/usr/local/etc/php/conf.d/local.ini
    networks:
      - chxq

  server_config_service_dev:
    image: harbor.caihongxingqiu.com:9401/library/nginx:latest
    tty: true
    depends_on:
      - app_config_service_dev
    ports:
      - "18208:80"
    volumes:
      - ./:/var/www
      - ./deploy/nginx/conf.d/app.dev.conf:/etc/nginx/conf.d/app.dev.conf
    networks:
      - chxq

#docker networks
#docker network create --driver overlay chxq
networks:
  chxq:
    external: true