version: '3.7' services: app: build: ./php container_name: myapp ports: - 80:80 networks: app_net: networks: app_net: name: app_net