I have the following Docker-compose:
version: "3.3"
services:
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: mydb
MYSQL_USER: root
MYSQL_PASSWORD: root
restart: always
ports:
- "3306:3306"
web:
image: php:7.0-apache
volumes:
- ../Desenvolvimento Web/:/var/www/html
working_dir: /var/www/html
depends_on:
- mysql
links:
- mysql
restart: always
ports:
- "80:80"
How can I upload these containers so I can connect to their terminal? I've tried uploading as:
docker-compose up -d