File "docker-compose.yml"

Full Path: C:/wamp64/www/Identifica/docker-compose.yml
File size: 629 bytes
MIME-type: text/plain
Charset: utf-8


services:
  web:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: AppCarnets
    ports:
      - "8094:80"                  
    volumes:
      - ./:/var/www/html    
    depends_on: 
    - db
    networks:
      - red_local

  db:
    image: mysql:5.7
    container_name: mysql_Appcarnets
    restart: no
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: miappdb
      MYSQL_USER: user
      MYSQL_PASSWORD: password
    volumes:
      - db_data:/var/lib/mysql
    networks:
      - red_local
      
volumes:
  db_data:

networks:
  red_local: